Skip to content

Commit

Permalink
Merge pull request k8snetworkplumbingwg/sriov-network-operator #391 M…
Browse files Browse the repository at this point in the history
…ake sriov-network-config-daemon crash when configmap cannot be obtained
  • Loading branch information
wangyd1988 committed Dec 5, 2023
1 parent 34851e9 commit 4b340d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/sriov-network-config-daemon/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ func runStartCmd(cmd *cobra.Command, args []string) {
var namespace = os.Getenv("NAMESPACE")
if err := sriovnetworkv1.InitNicIDMap(kubeclient, namespace); err != nil {
glog.Errorf("failed to run init NicIdMap: %v", err)
panic(err.Error())
}

// block the deamon process until nodeWriter finish first its run
Expand Down

0 comments on commit 4b340d7

Please sign in to comment.