Skip to content

Commit

Permalink
fix: in case of pv scan that did not come up with result->continue
Browse files Browse the repository at this point in the history
  • Loading branch information
tal-asulin committed Dec 22, 2024
1 parent 26ba422 commit 074a7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/pvc_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (r *PVCReconciler) FilterPVListByNodeName(pvList *v1.PersistentVolumeList,
nodeSet = r.GetLocalPersistentVolumeNodeNames(&pv)
// Assuming only one node attachment
if nodeSet == nil || len(nodeSet) != 1 {
return nil
continue
}

if nodeSet[0] == nodeName {
Expand Down

0 comments on commit 074a7c9

Please sign in to comment.