Skip to content

Commit

Permalink
avoid the NewPool will change the tenant's label
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhi.li committed Sep 19, 2023
1 parent 1b84ccc commit b037a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/statefulsets/minio-statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ type NewPoolArgs struct {

// NewPool creates a new StatefulSet for the given Cluster.
func NewPool(args *NewPoolArgs) *appsv1.StatefulSet {
t := args.Tenant
t := args.Tenant.DeepCopy()
skipEnvVars := args.SkipEnvVars
pool := args.Pool
poolStatus := args.PoolStatus
Expand Down

0 comments on commit b037a30

Please sign in to comment.