Skip to content

Commit

Permalink
updated || for condition if dashboardURLMode && user.Uid as per comme…
Browse files Browse the repository at this point in the history
…nts #5292
  • Loading branch information
dpandhi-git committed Sep 9, 2019
1 parent 73aefd0 commit 814c8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ var dashboardCmd = &cobra.Command{
if err != nil {
exit.WithError("Unable to get current user", err)
}
if dashboardURLMode && user.Uid == "0" {
if dashboardURLMode || user.Uid == "0" {
out.Ln(url)
} else {
out.T(out.Celebrate, "Opening {{.url}} in your default browser...", out.V{"url": url})
Expand Down

0 comments on commit 814c8e1

Please sign in to comment.