Skip to content

Commit b0d94ce

Browse files
committed
misc: do not capitalize err string and fix wording
Signed-off-by: Hidde Beydals <[email protected]>
1 parent aba9800 commit b0d94ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azure/blob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func (c *BlobClient) BucketExists(ctx context.Context, bucketName string) (bool,
192192

193193
// For a container-level SASToken, we get an AuthenticationFailed when the bucket doesn't exist
194194
if bloberror.HasCode(err, bloberror.AuthenticationFailed) {
195-
return false, fmt.Errorf("Bucket name may be incorrect, it does not exist or caller does not have enough permissions: %w", err)
195+
return false, fmt.Errorf("the specified bucket name may be incorrect, nonexistent, or the caller might lack sufficient permissions to access it: %w", err)
196196
}
197197

198198
return false, err

0 commit comments

Comments
 (0)