From 88829d0a7a15ac07fc1ab785fc3daa48f2fd30d8 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 15 Apr 2024 17:42:26 +0200 Subject: [PATCH] Do not prefill https:// in prompt for Databricks Host --- cmd/auth/auth.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/auth/auth.go b/cmd/auth/auth.go index 59de76111d..5d106b4836 100644 --- a/cmd/auth/auth.go +++ b/cmd/auth/auth.go @@ -28,9 +28,7 @@ func New() *cobra.Command { func promptForHost(ctx context.Context) (string, error) { prompt := cmdio.Prompt(ctx) - prompt.Label = "Databricks Host" - prompt.Default = "https://" - prompt.AllowEdit = true + prompt.Label = "Databricks Host (e.g. https://.cloud.databricks.com)" // Validate? host, err := prompt.Run() if err != nil {