Skip to content

Commit 1858c4a

Browse files
authored
fixing a dashboard bug (#133)
1 parent 7f4c4be commit 1858c4a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Gopkg.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

commands/dashboard.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ func (cmd *Dashboard) Commands() []cli.Command {
3333
func (cmd *Dashboard) Run(ctx *cli.Context) error {
3434
if cmd.machine.IsRunning() || util.SupportsNativeDocker() {
3535
cmd.out.Info("Launching Dashboard")
36-
err := cmd.LaunchDashboard(cmd.machine)
37-
if err != nil {
36+
if err := cmd.LaunchDashboard(cmd.machine); err == nil {
3837
// Success may be presumed to only execute once per command execution.
3938
// This allows calling LaunchDashboard() from start.go without success.
4039
return cmd.Success("")

0 commit comments

Comments
 (0)