mirror of https://github.com/k3s-io/k3s
fix deleteClaim
`ok` is not in same variable socpe like https://github.com/kubernetes/kubernetes/pull/31416pull/6/head
parent
524f0da769
commit
041beadcc8
|
@ -413,7 +413,7 @@ func (ctrl *PersistentVolumeController) deleteClaim(obj interface{}) {
|
|||
}
|
||||
}
|
||||
|
||||
if !ok || claim == nil {
|
||||
if claim == nil {
|
||||
return
|
||||
}
|
||||
glog.V(4).Infof("claim %q deleted", claimToClaimKey(claim))
|
||||
|
|
Loading…
Reference in New Issue