mirror of https://github.com/databricks/cli.git
1508d65c4c
## Changes Whether or not the CLI is running on DBR can be detected once and stored in the command's context. By storing it in the context, it can easily be mocked for testing. This builds on the simpler approach and conversation in #1744. It unblocks testing of the DBR-specific paths while not compromising on the checks we can perform to test if the CLI is running on DBR. ## Tests * Unit tests for the new `dbr` package * New unit test for the `ConfigureWSFS` mutator |
||
---|---|---|
.. | ||
args.go | ||
auth.go | ||
auth_options.go | ||
auth_options_test.go | ||
auth_test.go | ||
bundle.go | ||
bundle_test.go | ||
io.go | ||
logger.go | ||
progress_logger.go | ||
progress_logger_test.go | ||
root.go | ||
silent_err.go | ||
user_agent.go | ||
user_agent_command.go | ||
user_agent_command_exec_id.go | ||
user_agent_command_exec_id_test.go | ||
user_agent_command_test.go | ||
user_agent_upstream.go | ||
user_agent_upstream_test.go |