diff --git a/pkg/knuu/instance.go b/pkg/knuu/instance.go index b05c1e4..99a6b94 100644 --- a/pkg/knuu/instance.go +++ b/pkg/knuu/instance.go @@ -964,6 +964,16 @@ func (i *Instance) AddCapabilities(capabilities []string) error { return nil } +// StartAsync starts the instance without waiting for it to be ready +// This function can only be called in the state 'Committed' or 'Stopped' +// This function will replace StartWithoutWait +func (i *Instance) StartAsync() error { + if err := i.StartWithoutWait(); err != nil { + return err + } + return nil +} + // StartWithoutWait starts the instance without waiting for it to be ready // This function can only be called in the state 'Committed' or 'Stopped' func (i *Instance) StartWithoutWait() error {