Skip to content

Commit

Permalink
fixing a dashboard bug (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
febbraro authored Jan 18, 2018
1 parent 7f4c4be commit 1858c4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions commands/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ func (cmd *Dashboard) Commands() []cli.Command {
func (cmd *Dashboard) Run(ctx *cli.Context) error {
if cmd.machine.IsRunning() || util.SupportsNativeDocker() {
cmd.out.Info("Launching Dashboard")
err := cmd.LaunchDashboard(cmd.machine)
if err != nil {
if err := cmd.LaunchDashboard(cmd.machine); err == nil {
// Success may be presumed to only execute once per command execution.
// This allows calling LaunchDashboard() from start.go without success.
return cmd.Success("")
Expand Down

0 comments on commit 1858c4a

Please sign in to comment.