mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-05 11:06:05 +01:00
Just one more issue with groupsmigration - unexhaustive match
This commit is contained in:
@@ -289,7 +289,7 @@ if dry_run {
|
||||
match match protocol {
|
||||
% if mc.media_params:
|
||||
% for p in mc.media_params:
|
||||
CallType::Upload(UploadProtocol::${p.protocol.capitalize()}) => call.${upload_action_fn(api.terms.upload_action, p.type.suffix)}(input_file.unwrap(), mime_type.unwrap()),
|
||||
CallType::Upload(UploadProtocol::${p.protocol.capitalize()}) => call.${upload_action_fn(api.terms.upload_action, p.type.suffix)}(input_file.unwrap(), mime_type.unwrap()).await,
|
||||
% endfor
|
||||
CallType::Standard => unreachable!()
|
||||
% else:
|
||||
|
||||
@@ -37,7 +37,7 @@ async fn main() {
|
||||
let matches = app.get_matches();
|
||||
|
||||
let debug = matches.is_present("${DEBUG_FLAG}");
|
||||
match Engine::new(matches) {
|
||||
match Engine::new(matches).await {
|
||||
Err(err) => {
|
||||
exit_status = err.exit_code;
|
||||
writeln!(io::stderr(), "{}", err).ok();
|
||||
|
||||
Reference in New Issue
Block a user