Skip to content

Commit

Permalink
Update comment to reflect actual logic
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Jul 9, 2024
1 parent 33eab07 commit b396071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixie_cli/pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func getCloudAddrIfRequired(cmd *cobra.Command) string {
cloudAddr := viper.GetString("cloud_addr")
if cloudAddr == "" {
if !isatty.IsTerminal(os.Stdin.Fd()) {
utils.Errorf("No cloud address provided during run within interactive shell. Please set the cloud address using the `--cloud_addr` flag or `PX_CLOUD_ADDR` environment variable.")
utils.Errorf("No cloud address provided during run within non-interactive shell. Please set the cloud address using the `--cloud_addr` flag or `PX_CLOUD_ADDR` environment variable.")
os.Exit(1)
} else {
prompt := promptui.Select{
Expand Down

0 comments on commit b396071

Please sign in to comment.