Skip to content

Commit

Permalink
Add missing return error in case of Pod delete
Browse files Browse the repository at this point in the history
Signed-off-by: Or Shoval <oshoval@redhat.com>
  • Loading branch information
oshoval committed Aug 8, 2024
1 parent 44e107c commit c9f23f2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ func (h *networkClusterControllerEventHandler) DeleteResource(obj, cachedObj int
if err != nil {
klog.Infof("Pod delete failed for %s/%s, will try again later: %v",
pod.Namespace, pod.Name, err)
return err
}
case factory.NodeType:
node, ok := obj.(*corev1.Node)
Expand Down

0 comments on commit c9f23f2

Please sign in to comment.