Skip to content

Commit

Permalink
Make sriov-network-config-daemon crash when nodeInfo cannot be obtained
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyd1988 committed Dec 5, 2023
1 parent 8ad0ab0 commit 3eb7437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sriov-network-config-daemon/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func runStartCmd(cmd *cobra.Command, args []string) {
}
}
} else {
glog.Warningf("Failed to fetch node state %s, %v!", startOpts.nodeName, err)
glog.Fatalf("Failed to fetch node state %s, %v!", startOpts.nodeName, err)
}
glog.V(0).Infof("Running on platform: %s", platformType.String())

Expand Down

0 comments on commit 3eb7437

Please sign in to comment.