Skip to content

Commit

Permalink
fix: some error of bucket creation be ignored (#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
drivebyer committed Jan 18, 2023
1 parent 377337d commit 73e82f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/minio.min.io/v2/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,8 @@ func (t *Tenant) CreateBuckets(minioClient *minio.Client, buckets ...Bucket) err
case "BucketAlreadyOwnedByYou", "BucketAlreadyExists":
klog.Infof(err.Error())
continue
default:
return err
}
}
klog.Infof("Successfully created bucket %s", bucket.Name)
Expand Down

0 comments on commit 73e82f3

Please sign in to comment.