Skip to content

Commit

Permalink
Merge pull request #681 from ykulazhenkov/pr-fix-service-discovery
Browse files Browse the repository at this point in the history
Fix service CMD to return an error if device discovery failed
  • Loading branch information
zeeke authored Apr 16, 2024
2 parents 8f28fe5 + 2e4e3ab commit 6780fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sriov-network-config-daemon/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func callPlugin(setupLog logr.Logger, phase string, conf *systemd.SriovConfig, h

nodeState, err := getNetworkNodeState(setupLog, conf, hostHelpers)
if err != nil {
return nil
return err
}
_, _, err = configPlugin.OnNodeStateChange(nodeState)
if err != nil {
Expand Down

0 comments on commit 6780fd0

Please sign in to comment.