-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbc326c
commit 66ff914
Showing
1 changed file
with
14 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
=== Inside the bundle, no flags | ||
>>> errcode $CLI current-user me | ||
"$USERNAME" | ||
>>> errcode [CLI] current-user me | ||
"[USERNAME]" | ||
|
||
=== Inside the bundle, target flags | ||
>>> errcode $CLI current-user me -t dev | ||
"$USERNAME" | ||
>>> errcode [CLI] current-user me -t dev | ||
"[USERNAME]" | ||
|
||
=== Inside the bundle, target and matching profile | ||
>>> errcode $CLI current-user me -t dev -p DEFAULT | ||
"$USERNAME" | ||
>>> errcode [CLI] current-user me -t dev -p DEFAULT | ||
"[USERNAME]" | ||
|
||
=== Inside the bundle, profile flag not matching bundle host. Badness: should use profile from flag instead and not fail | ||
>>> errcode $CLI current-user me -p profile_name | ||
Error: cannot resolve bundle auth configuration: config host mismatch: profile uses host https://non-existing-subdomain.databricks.com, but CLI configured to use $DATABRICKS_URL | ||
>>> errcode [CLI] current-user me -p profile_name | ||
Error: cannot resolve bundle auth configuration: config host mismatch: profile uses host https://non-existing-subdomain.databricks.com, but CLI configured to use [DATABRICKS_URL] | ||
|
||
Exit code: 1 | ||
|
||
=== Inside the bundle, target and not matching profile | ||
>>> errcode $CLI current-user me -t dev -p profile_name | ||
Error: cannot resolve bundle auth configuration: config host mismatch: profile uses host https://non-existing-subdomain.databricks.com, but CLI configured to use $DATABRICKS_URL | ||
>>> errcode [CLI] current-user me -t dev -p profile_name | ||
Error: cannot resolve bundle auth configuration: config host mismatch: profile uses host https://non-existing-subdomain.databricks.com, but CLI configured to use [DATABRICKS_URL] | ||
|
||
Exit code: 1 | ||
|
||
=== Outside the bundle, no flags | ||
>>> errcode $CLI current-user me | ||
"$USERNAME" | ||
>>> errcode [CLI] current-user me | ||
"[USERNAME]" | ||
|
||
=== Outside the bundle, profile flag | ||
>>> errcode $CLI current-user me -p profile_name | ||
"$USERNAME" | ||
>>> errcode [CLI] current-user me -p profile_name | ||
"[USERNAME]" |