mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
nfd-worker: change Fatal* log messages to Exit*
We don't want to always print backtraces.
This commit is contained in:
parent
73bea99c34
commit
ed722d5527
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ func main() {
|
|||
// Get new NfdWorker instance
|
||||
instance, err := worker.NewNfdWorker(args)
|
||||
if err != nil {
|
||||
klog.Fatalf("Failed to initialize NfdWorker instance: %v", err)
|
||||
klog.Exitf("Failed to initialize NfdWorker instance: %v", err)
|
||||
}
|
||||
|
||||
if err = instance.Run(); err != nil {
|
||||
klog.Fatal(err)
|
||||
klog.Exit(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue