mirror of https://github.com/databricks/cli.git
096123674a
## Changes We were not using the readers and writers set in the test fixtures in the progress logger. This PR fixes that. It also modifies `TestAccAbortBind`, which was implicitly relying on the bug. I encountered this bug while working on https://github.com/databricks/cli/pull/1672. ## Tests Manually. From non-tty: ``` Error: failed to bind the resource, err: This bind operation requires user confirmation, but the current console does not support prompting. Please specify --auto-approve if you would like to skip prompts and proceed. ``` From tty, bind works as expected. ``` Confirm import changes? Changes will be remotely applied only after running 'bundle deploy'. [y/n]: y Updating deployment state... Successfully bound databricks_pipeline with an id '9d2dedbb-f522-4503-96ba-4bc4d5bfa77d'. Run 'bundle deploy' to deploy changes to your workspace ``` |
||
---|---|---|
.. | ||
files | ||
lock | ||
metadata | ||
terraform | ||
filer.go | ||
state.go | ||
state_pull.go | ||
state_pull_test.go | ||
state_push.go | ||
state_push_test.go | ||
state_test.go | ||
state_update.go | ||
state_update_test.go |