diff --git a/cmd/sriov-network-config-daemon/service.go b/cmd/sriov-network-config-daemon/service.go index 1917ed63c..88b60036e 100644 --- a/cmd/sriov-network-config-daemon/service.go +++ b/cmd/sriov-network-config-daemon/service.go @@ -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 {