mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
fix deleteClaim
`ok` is not in same variable socpe like https://github.com/kubernetes/kubernetes/pull/31416
This commit is contained in:
@@ -413,7 +413,7 @@ func (ctrl *PersistentVolumeController) deleteClaim(obj interface{}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !ok || claim == nil {
|
if claim == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
glog.V(4).Infof("claim %q deleted", claimToClaimKey(claim))
|
glog.V(4).Infof("claim %q deleted", claimToClaimKey(claim))
|
||||||
|
Reference in New Issue
Block a user