Skip to content

Commit

Permalink
fix: avoid the NewPool will change the tenant's label (#1782)
Browse files Browse the repository at this point in the history
avoid the NewPool will change the tenant's label
  • Loading branch information
jiuker authored Sep 19, 2023
1 parent 1b84ccc commit 6a495c8
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 6a495c8

Please sign in to comment.