Skip to content

Commit

Permalink
Merge pull request #76 from windayski/fix-typo
Browse files Browse the repository at this point in the history
Update util.go
  • Loading branch information
k8s-ci-robot authored Jun 30, 2020
2 parents 0004cf3 + 19087eb commit e23cecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func getPatchData(oldObj, newObj interface{}) ([]byte, error) {
}

// HasFileSystemResizePendingCondition returns true if a pvc has a FileSystemResizePending condition.
// This means the controller side resize operation is finished, and kublete side operation is in progress.
// This means the controller side resize operation is finished, and kubelet side operation is in progress.
func HasFileSystemResizePendingCondition(pvc *v1.PersistentVolumeClaim) bool {
for _, condition := range pvc.Status.Conditions {
if condition.Type == v1.PersistentVolumeClaimFileSystemResizePending && condition.Status == v1.ConditionTrue {
Expand Down

0 comments on commit e23cecb

Please sign in to comment.