File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -335,13 +335,6 @@ func Run(ctx context.Context, opts Options) error {
335335 return err
336336 }
337337
338- setupLog .Info ("Initializing network interface plugin" )
339-
340- if err := nicPlugin .Init (ctx , providerHost ); err != nil {
341- setupLog .Error (err , "failed to initialize network plugin" )
342- return err
343- }
344-
345338 setupLog .Info ("Configuring machine store" , "Directory" , providerHost .MachineStoreDir ())
346339 machineStore , err := host .NewStore (host.Options [* api.Machine ]{
347340 NewFunc : func () * api.Machine { return & api.Machine {} },
@@ -478,6 +471,13 @@ func Run(ctx context.Context, opts Options) error {
478471 }
479472 }
480473
474+ setupLog .Info ("Initializing network interface plugin" )
475+
476+ if err := nicPlugin .Init (ctx , providerHost ); err != nil {
477+ setupLog .Error (err , "failed to initialize network plugin" )
478+ return err
479+ }
480+
481481 g .Go (func () error {
482482 return runMetricsServer (ctx , setupLog , opts .Servers .Metrics )
483483 })
You can’t perform that action at this time.
0 commit comments