forked from StrafesNET/asset-tool
as
This commit is contained in:
parent
3a165b3bd3
commit
9916b54166
@ -708,8 +708,8 @@ async fn create_asset_medias(config:CreateAssetMediasConfig)->AResult<()>{
|
||||
let context=&context;
|
||||
async{
|
||||
match create_result{
|
||||
Ok(operation)=>match operation.wait(context).await{
|
||||
Ok(())=>Some(operation),
|
||||
Ok(create_asset_response)=>match get_asset_exp_backoff(context,&create_asset_response).await{
|
||||
Ok(asset_response)=>Some(asset_response),
|
||||
Err(e)=>{
|
||||
eprintln!("operation error: {}",e);
|
||||
None
|
||||
|
Loading…
Reference in New Issue
Block a user