Skip to content

Commit

Permalink
update prompt text to include current tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
morganelle committed Mar 12, 2021
1 parent f4934d0 commit a5e26fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func RunLogin(ctx context.Context, cli *cli, expired bool) error {
}

if cli.config.DefaultTenant != res.Tenant {
promptText := fmt.Sprintf("Change the default tenant to %s?", res.Tenant)
promptText := fmt.Sprintf("Your default tenant is %s. Do you want to change it to %s?", cli.config.DefaultTenant, res.Tenant)
if confirmed := prompt.Confirm(promptText); !confirmed {
return nil
}
Expand Down

0 comments on commit a5e26fc

Please sign in to comment.