Skip to content

Commit

Permalink
update replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnester committed Feb 3, 2025
1 parent dbc326c commit 66ff914
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions acceptance/auth/bundle_and_profile/output.txt
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]"

0 comments on commit 66ff914

Please sign in to comment.