Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo for the error code "IncrementalCopyOfEarlierVersionSnapshotNotAllowed" #18767

Closed
yinfangchen opened this issue Jul 30, 2022 · 2 comments
Closed
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage Storage Service (Queues, Blobs, Files)
Milestone

Comments

@yinfangchen
Copy link

Bug Report

The error code "IncrementalCopyOfEralierVersionSnapshotNotAllowed" here has a typo. It should be "IncrementalCopyOfEarlierVersionSnapshotNotAllowed".

StorageErrorCodeIncrementalCopyOfEralierVersionSnapshotNotAllowed StorageErrorCode = "IncrementalCopyOfEralierVersionSnapshotNotAllowed"

If the user uses it to parse the error code, they will never succeed unless the server also uses a typo error code.
Thanks!

  • import path of package in question: sdk/storage/azblob/zz_generated_constants.go
  • SDK version:latest
@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 30, 2022
@RickWinter RickWinter added Storage Storage Service (Queues, Blobs, Files) Client This issue points to a problem in the data-plane of the library. labels Aug 1, 2022
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Aug 1, 2022
@RickWinter RickWinter added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 1, 2022
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Aug 1, 2022
@RickWinter RickWinter added this to the 2022-10 milestone Sep 1, 2022
@zezha-msft
Copy link

Thanks @rainmaker2022.

@siminsavani-msft looks like the typo is still in the main branch: https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/storage/azblob/internal/generated/zz_constants.go#L518

@jhendrixMSFT
Copy link
Member

Fixed in azblob@v0.5.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

6 participants