misc: do not capitalize err string and fix wording

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-10-09 14:57:04 +02:00
parent aba98008ac
commit b0d94ce6d0
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
1 changed files with 1 additions and 1 deletions

View File

@ -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