azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

az ml 2.7.0 online-deployment update does not honour json output

Open mattmshell opened this issue 1 year ago • 1 comments

Related command

$deployment = $(az ml online-deployment update --file deployment.yml --resource-group $ResourceGroupName --workspace-name $WorkspaceName --output json | ConvertFrom-Json)

Extension name (the extension in question)

ml

Description of issue (in as much detail as possible)

On Linux, under bash, az ml online-deployment update appears to print progress dots, despite --output json. These cannot be parsed as JSON causing an error in my PowerShell script:

ConvertFrom-Json : Conversion from JSON failed with error: Input string '...............................................................................................' is not a valid number. Path '', line 1, position 95.

Downgrading to 2.6.x mitigates this issue.

mattmshell avatar Aug 11 '22 16:08 mattmshell

route to CXP team

yonzhan avatar Aug 11 '22 22:08 yonzhan

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.

I'm not working this Azure ML at the moment. Closing.

mattmshell avatar Mar 14 '24 09:03 mattmshell