Remove loading status during startup
This commit is contained in:
parent
bd9ba0654e
commit
66dc2fd259
@ -142,18 +142,11 @@ func Commands(
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
s := baseCommand.client.UI().Status()
|
||||
s.Update("Loading Vagrant...")
|
||||
|
||||
result, err := baseCommand.client.Commands(ctx, nil, baseCommand.Modifier())
|
||||
if err != nil {
|
||||
s.Step(terminal.StatusError, "Failed to load Vagrant!")
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
s.Step(terminal.StatusOK, "Vagrant loaded!")
|
||||
s.Close()
|
||||
|
||||
// Set plain mode if set
|
||||
if os.Getenv(EnvPlain) != "" {
|
||||
baseCommand.globalOptions = append(baseCommand.globalOptions,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user