-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify
dashboard
cmd to handle browser failure (#33)
If the `linkerd buoyant dashboard` command encountered a failure opening the default browser, it would just quit with an error. Modify `linkerd buoyant dashboard` to catch browser open errors, and instead print a message to the user instructing them to manually open a browser. This is similar to `linkerd viz dashboard` behavior. New output: ``` $ go run cli/main.go dashboard Opening Buoyant Cloud dashboard in the default browser Failed to open dashboard automatically Visit https://buoyant.cloud in your browser to view the dashboard ``` Fixes #32 Signed-off-by: Andrew Seigner <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters