Commit c9678dbd authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #31416 from better0332/master

Automatic merge from submit-queue fix deleteVolume
parents 45f96fa8 524f0da7
......@@ -303,7 +303,7 @@ func (ctrl *PersistentVolumeController) deleteVolume(obj interface{}) {
}
}
if !ok || volume == nil || volume.Spec.ClaimRef == nil {
if volume == nil || volume.Spec.ClaimRef == nil {
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment