Skip to content

az storage-blob upload batch fails yet exitcode 0 #22708

@wkoeter

Description

@wkoeter

This is autogenerated. Please review and update as needed.

Describe the bug

As described in #21477
az storage blob upload-batch gives errors when blob already exists and --overwrite is absent.

Yet the exitcode is still 0 indicating success. Someone might not pick up on these errors.

Command Name
az storage blob upload-batch

Errors:
image

image

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az storage blob upload-batch --account-key {} -s {} -d {} --account-name {}
  • az storage blob upload-batch --account-key {} -s {} -d {} --account-name {}
  • $LASTEXITCODE

Expected Behavior

exitcode != 0

Environment Summary

Windows-10-10.0.19043-SP0
Python 3.10.4
Installer: MSI

azure-cli 2.37.0

Extensions:
account 0.2.2
application-insights 0.1.16
azure-devops 0.23.0

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions