Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhi.li committed Oct 23, 2023
1 parent c4f2844 commit 0a53be3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/resources/statefulsets/minio-statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import (

const (
bucketDNSEnv = "MINIO_DNS_WEBHOOK_ENDPOINT"
// StroageDeletionLabel - pvc with this label and the value is `true` means when tenant is being deleted the pvc will be deleted.
StroageDeletionLabel = "stroageDeletion"
// StorageDeletionLabel - pvc with this label and the value is `true` means when tenant is being deleted the pvc will be deleted.
StorageDeletionLabel = "storageDeletion"
)

// Returns the MinIO environment variables set in configuration.
Expand Down Expand Up @@ -860,7 +860,7 @@ func NewPool(args *NewPoolArgs) *appsv1.StatefulSet {
if len(pvClaim.Labels) == 0 {
pvClaim.Labels = make(map[string]string)
}
pvClaim.Labels[StroageDeletionLabel] = "true"
pvClaim.Labels[StorageDeletionLabel] = "true"
}
name := pvClaim.Name
for i := 0; i < int(pool.VolumesPerServer); i++ {
Expand Down

0 comments on commit 0a53be3

Please sign in to comment.