Skip to content

Commit

Permalink
Update util.go
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
windayski authored Mar 30, 2020
1 parent 49f506d commit 19087eb
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 @@ -174,7 +174,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 19087eb

Please sign in to comment.