mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #80556 from AllenZMC/patch-3
fix typos in pv_controller.go
This commit is contained in:
commit
16a820b906
@ -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