databricks-cli/cmd
Pieter Noordhuis f62def3e77
Replace API call to test configuration with dummy authenticate call (#728)
## Changes

This reduces the latency of every workspace command by the duration of a
single API call to retrieve the current user (which can take up to a
full second).

Note: the better place to verify that a request can be authenticated is
the SDK itself.

## Tests

* Unit test to confirm an the empty `*http.Request` can be constructed
* Manually confirmed that the additional API call no longer happens
2023-09-05 11:10:37 +00:00
..
account Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
api Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
auth Always resolve .databrickscfg file (#659) 2023-08-14 12:45:08 +00:00
bundle Add a foundation for built-in templates (#685) 2023-08-25 09:03:42 +00:00
configure Renamed `environments` to `targets` in bundle configuration (#670) 2023-08-17 15:22:32 +00:00
fs Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
root Replace API call to test configuration with dummy authenticate call (#728) 2023-09-05 11:10:37 +00:00
sync Added support for sync.include and sync.exclude sections (#671) 2023-08-18 08:07:25 +00:00
version Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
workspace Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
cmd.go Group permission related commands (#730) 2023-09-05 09:58:45 +00:00