From b0d94ce6d06e683d0e7ac500f8399e08afacc96c Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Mon, 9 Oct 2023 14:57:04 +0200 Subject: [PATCH] misc: do not capitalize err string and fix wording Signed-off-by: Hidde Beydals --- pkg/azure/blob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/azure/blob.go b/pkg/azure/blob.go index ae5e54a7..89e85b4a 100644 --- a/pkg/azure/blob.go +++ b/pkg/azure/blob.go @@ -192,7 +192,7 @@ func (c *BlobClient) BucketExists(ctx context.Context, bucketName string) (bool, // For a container-level SASToken, we get an AuthenticationFailed when the bucket doesn't exist if bloberror.HasCode(err, bloberror.AuthenticationFailed) { - return false, fmt.Errorf("Bucket name may be incorrect, it does not exist or caller does not have enough permissions: %w", err) + return false, fmt.Errorf("the specified bucket name may be incorrect, nonexistent, or the caller might lack sufficient permissions to access it: %w", err) } return false, err