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;
|
let context=&context;
|
||||||
async{
|
async{
|
||||||
match create_result{
|
match create_result{
|
||||||
Ok(operation)=>match operation.wait(context).await{
|
Ok(create_asset_response)=>match get_asset_exp_backoff(context,&create_asset_response).await{
|
||||||
Ok(())=>Some(operation),
|
Ok(asset_response)=>Some(asset_response),
|
||||||
Err(e)=>{
|
Err(e)=>{
|
||||||
eprintln!("operation error: {}",e);
|
eprintln!("operation error: {}",e);
|
||||||
None
|
None
|
||||||
|
Loading…
Reference in New Issue
Block a user