Commit c8afc2c
committed
Prompt for workspace selection when discovery provides account_id
The post-OAuth workspace selection was gated on IsUnifiedHost, which is
only set via --experimental-is-unified-host or from an existing profile.
When a user passes --host pointing to a SPOG-enabled workspace, discovery
fetches account_id from .well-known/databricks-config but never sets
IsUnifiedHost, so workspace selection was silently skipped.
Now the condition checks only for account_id + missing workspace_id,
regardless of IsUnifiedHost. Also adds a message in non-interactive mode
telling the user to set workspace_id.
Co-authored-by: Isaac1 parent 352aa7b commit c8afc2c
1 file changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
259 | 255 | | |
260 | 256 | | |
261 | 257 | | |
| |||
717 | 713 | | |
718 | 714 | | |
719 | 715 | | |
| 716 | + | |
720 | 717 | | |
721 | 718 | | |
722 | 719 | | |
| |||
0 commit comments