Skip to content

Commit

Permalink
Fix setupnetwork call
Browse files Browse the repository at this point in the history
  • Loading branch information
protochron committed Mar 28, 2023
1 parent 8ba88df commit 99ec273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func (m *Machine) GetFirecrackerVersion(ctx context.Context) (string, error) {
}

func (m *Machine) setupNetwork(ctx context.Context) error {
err, cleanupFuncs := m.Cfg.NetworkInterfaces.setupNetwork(ctx, m.Cfg.VMID, m.Cfg.NetNS, m.logger, m.Cfg.JailerCfg.UID, m.Cfg.JailerCfg.GID)
err, cleanupFuncs := m.Cfg.NetworkInterfaces.setupNetwork(ctx, m.Cfg.VMID, m.Cfg.NetNS, m.logger, nil, nil)
m.cleanupFuncs = append(m.cleanupFuncs, cleanupFuncs...)
return err
}
Expand Down

0 comments on commit 99ec273

Please sign in to comment.