File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ func initNetPluginConfig(ctx *cli.Context) (*plugin.Config, error) {
81
81
if controlIP == "" {
82
82
controlIP , configErr = netutils .GetDefaultAddr ()
83
83
if configErr != nil {
84
- logrus .Fatal ("Failed to get host address: %s" , configErr .Error ())
84
+ logrus .Fatalf ("Failed to get host address: %s" , configErr .Error ())
85
85
}
86
86
}
87
87
logrus .Infof ("Using netplugin control IP: %v" , controlIP )
@@ -90,7 +90,7 @@ func initNetPluginConfig(ctx *cli.Context) (*plugin.Config, error) {
90
90
if vtepIP == "" {
91
91
vtepIP , configErr = netutils .GetDefaultAddr ()
92
92
if configErr != nil {
93
- logrus .Fatal ("Failed to get host address: %s" , configErr .Error ())
93
+ logrus .Fatalf ("Failed to get host address: %s" , configErr .Error ())
94
94
}
95
95
}
96
96
logrus .Infof ("Using netplugin VTEP IP: %v" , vtepIP )
You can’t perform that action at this time.
0 commit comments