Merge pull request #101987 from sky-philipalmeida/patch-1
Log if PV is still in use trying to delete it
This commit is contained in:
commit
b6924839ca
@ -144,6 +144,7 @@ func (c *Controller) processPV(pvName string) error {
|
||||
if !isUsed {
|
||||
return c.removeFinalizer(pv)
|
||||
}
|
||||
klog.V(4).Infof("Keeping PV %s because it is being used", pvName)
|
||||
}
|
||||
|
||||
if protectionutil.NeedToAddFinalizer(pv, volumeutil.PVProtectionFinalizer) {
|
||||
|
Loading…
Reference in New Issue
Block a user