f-25: code: add cfg to start vm
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
4bef0f9d5f
commit
915581904c
2 changed files with 3 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ func (c StartVMCommand) Execute(db *badger.DB, cfg *configuration.Config) error
|
|||
case <-time.After(time.Duration(cfg.Dispatcher.PollSeconds) * time.Second):
|
||||
}
|
||||
}
|
||||
return vm.StartVM(db, c.Name)
|
||||
return vm.StartVM(db, c.Name, cfg)
|
||||
}
|
||||
|
||||
type StopVMCommand struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue