databricks-cli/libs/databrickscfg
Pieter Noordhuis cfd32c9602
Try to resolve a profile if only the host is specified (#287)
## Changes

This improves out of the box usability where a user who already
configured a `.databrickscfg` file will be able to reference the
workspace host in their `bundle.yml` and it will automatically pick up
the right profile.

## Tests

* Newly added tests pass.
* Manual testing confirms intended behavior.

---------

Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
2023-03-29 20:44:19 +02:00
..
testdata Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00
file.go Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00
host.go Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00
host_test.go Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00
loader.go Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00
loader_test.go Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00