Skip to content

az dls cmd logs preview warning to stderr since new version which makes devops pipeline fail #9891

@markvanschaik

Description

@markvanschaik

Describe the bug

Command Name
az dls account list

Errors:
A dls-preview warning is shown when calling any az dls cmd, which is written to the std err output. The devops pipeline fails, as it is treated as an error.

Command group 'dls' is in preview. It may be changed/removed in a future release.

We came up with a temporary solution to write the error to the null device by adding 2> /dev/null to each az dls cmd, so that the pipeline will succeed.

To Reproduce:

Execute any az dls command. For example:

  • az dls account list --query {}

Expected Behavior

The dls commands were not in preview before, so we were suprised to find it in preview mode since the new version came out.

Environment Summary

Windows-10-10.0.17134-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.68

Additional Context

Metadata

Metadata

Assignees

Labels

CoreCLI core infrastructure

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions