Skip to content

Commit

Permalink
Update internal/controller/bucket/update.go
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Kovacs <[email protected]>
  • Loading branch information
nolancon and mhmxs authored Oct 18, 2023
1 parent f5ac080 commit 8d1509e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/bucket/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (c *external) Update(ctx context.Context, mg resource.Managed) (managed.Ext

allBucketsReady := true
for _, p := range bucket.Spec.Providers {
if _, ok := bucket.Status.AtProvider.Backends[p]; !ok {
if _, ok := bucket.Status.AtProvider.Backends[p]; !ok || bucket.Status.AtProvider.Backends[p].BucketStatus != v1alpha1.ReadyStatus{
allBucketsReady = false

break
Expand Down

0 comments on commit 8d1509e

Please sign in to comment.