We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7553548 commit eff724aCopy full SHA for eff724a
blob/azureblob/azureblob.go
@@ -665,6 +665,9 @@ func (b *bucket) ErrorCode(err error) gcerrors.ErrorCode {
665
if code == bloberror.AuthenticationFailed {
666
return gcerrors.PermissionDenied
667
}
668
+ if code == bloberror.BlobAlreadyExists {
669
+ return gcerrors.FailedPrecondition
670
+ }
671
672
if strings.Contains(err.Error(), "no such host") {
673
// This happens with an invalid storage account name; the host
0 commit comments