Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't load ~/.databrickscfg if azure-cli auth is implicitly configured #324

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

alexott
Copy link
Contributor

@alexott alexott commented Mar 8, 2023

Checking for presence of host isn't enough as it should happen only on Azure, so checking with IsAzure works better.

Checking for presence of `host` isn't enough as it should happen only on Azure, so
checking with `IsAzure` works better.
@alexott alexott changed the title Don't load ~/.databrickscfg if azure-cli auth is implicitly configured Don't load ~/.databrickscfg if azure-cli auth is implicitly configured Mar 8, 2023
@nfx nfx self-requested a review March 8, 2023 12:03
@nfx nfx merged commit c8ebe58 into databricks:main Mar 8, 2023
nfx added a commit that referenced this pull request Mar 8, 2023
 * Added `id` field to the `NodeTypeRequest` for easier integration with Terraform's [databricks_node_type](https://registry.terraform.io/providers/databricks/databricks/latest/docs/data-sources/node_type) data source ([#325](#325)).
 * Don't load `~/.databrickscfg` if `azure-cli` auth is implicitly configured ([#324](#324)).
 * Fixed newline in codegen comments ([#326](#326)).
 * Update from OpenAPI ([#320](#320), [#328](#328)).

API changes:

* Renamed `deployment.AwsCredentials` to `deployment.CreateCredentialAwsCredentials`.
* Renamed `deployment.StsRole` to `deployment.CreateCredentialStsRole`.
* Removed schedules support from `sql.AlertsAPI`.

Dependency updates:

 * Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ([#318](#318)).
 * Bump golang.org/x/mod from 0.6.0-dev.0.20220419223038-86c51ed26bb4 to 0.8.0 ([#316](#316)).
 * Bump golang.org/x/mod from 0.8.0 to 0.9.0 ([#323](#323)).
 * Bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 ([#322](#322)).
 * Bump golang.org/x/time from 0.0.0-20210723032227-1f47c861a9ac to 0.3.0 ([#317](#317)).
 * Bump google.golang.org/api from 0.110.0 to 0.111.0 ([#319](#319)).
@nfx nfx mentioned this pull request Mar 8, 2023
nfx added a commit that referenced this pull request Mar 8, 2023
* Added `id` field to the `NodeTypeRequest` for easier integration with
Terraform's
[databricks_node_type](https://registry.terraform.io/providers/databricks/databricks/latest/docs/data-sources/node_type)
data source
([#325](#325)).
* Don't load `~/.databrickscfg` if `azure-cli` auth is implicitly
configured
([#324](#324)).
* Fixed newline in codegen comments
([#326](#326)).
* Update from OpenAPI
([#320](#320),
[#328](#328)).

API changes:

* Renamed `deployment.AwsCredentials` to
`deployment.CreateCredentialAwsCredentials`.
* Renamed `deployment.StsRole` to `deployment.CreateCredentialStsRole`.
* Removed schedules support from `sql.AlertsAPI`.

Dependency updates:

* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
([#318](#318)).
* Bump golang.org/x/mod from 0.6.0-dev.0.20220419223038-86c51ed26bb4 to
0.8.0
([#316](#316)).
* Bump golang.org/x/mod from 0.8.0 to 0.9.0
([#323](#323)).
* Bump golang.org/x/oauth2 from 0.5.0 to 0.6.0
([#322](#322)).
* Bump golang.org/x/time from 0.0.0-20210723032227-1f47c861a9ac to 0.3.0
([#317](#317)).
* Bump google.golang.org/api from 0.110.0 to 0.111.0
([#319](#319)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants