Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nolancon committed Jun 21, 2024
1 parent 0f0f672 commit f08c2e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/bucket/bucket_backends.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (b *bucketBackends) countBucketsAvailableOnBackends(bucket *v1alpha1.Bucket
return i
}

// isLifecycleConfigAvailableOnBackends checks the backends listed in Spec.Providers against
// isLifecycleConfigAvailableOnBackends checks the backends listed in providerNames against
// bucketBackends to ensure lifecycle configurations are considered Available on all desired backends.
func (b *bucketBackends) isLifecycleConfigAvailableOnBackends(bucket *v1alpha1.Bucket, providerNames []string, c map[string]backendstore.S3Client) bool {
for _, backendName := range providerNames {
Expand All @@ -168,7 +168,7 @@ func (b *bucketBackends) isLifecycleConfigAvailableOnBackends(bucket *v1alpha1.B
return true
}

// isLifecycleConfigRemovedFromBackends checks the backends listed in Spec.Providers against
// isLifecycleConfigRemovedFromBackends checks the backends listed in providerNames against
// bucketBackends to ensure lifecycle configurations are removed from all desired backends.
func (b *bucketBackends) isLifecycleConfigRemovedFromBackends(bucket *v1alpha1.Bucket, providerNames []string, c map[string]backendstore.S3Client) bool {
for _, backendName := range providerNames {
Expand Down

0 comments on commit f08c2e5

Please sign in to comment.