Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: yaroslavborbat <[email protected]>
  • Loading branch information
yaroslavborbat committed Oct 30, 2024
1 parent 51968ed commit d587682
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ func (s *state) getVirtHandlerNodeNames(ctx context.Context) (map[string]struct{
err := s.client.List(ctx, pods, client.InNamespace(s.controllerNamespace),
client.MatchingLabelsSelector{
Selector: labels.SelectorFromSet(map[string]string{
virtv1.AppLabel: "virt-handler"})})
virtv1.AppLabel: "virt-handler",
}),
})
if err != nil {
return nil, fmt.Errorf("failed to list pods: %w", err)
}
Expand Down

0 comments on commit d587682

Please sign in to comment.