diff --git a/cmd/thanos/main_test.go b/cmd/thanos/main_test.go index 7feca6162bd..e3f17e6cdfb 100644 --- a/cmd/thanos/main_test.go +++ b/cmd/thanos/main_test.go @@ -77,9 +77,9 @@ func (b *erroringBucket) IsObjNotFoundErr(err error) bool { return b.bkt.IsObjNotFoundErr(err) } -// IsCustomerManagedKeyError returns true if error means that customer managed key is invalid. -func (b *erroringBucket) IsCustomerManagedKeyError(err error) bool { - return b.bkt.IsCustomerManagedKeyError(err) +// IsAccessDeniedErr returns true if error means that access was denied. +func (b *erroringBucket) IsAccessDeniedErr(err error) bool { + return b.bkt.IsAccessDeniedErr(err) } // Attributes returns information about the specified object.