mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
fix typos in pv_controller.go
make code kinda more readable
This commit is contained in:
parent
9aefaa163f
commit
852040c036
@ -1003,7 +1003,7 @@ func (ctrl *PersistentVolumeController) unbindVolume(volume *v1.PersistentVolume
|
|||||||
volumeClone.Annotations = nil
|
volumeClone.Annotations = nil
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// The volume was pre-bound by user. Clear only the binging UID.
|
// The volume was pre-bound by user. Clear only the binding UID.
|
||||||
volumeClone.Spec.ClaimRef.UID = ""
|
volumeClone.Spec.ClaimRef.UID = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user