Commit df15242
authored
Return
## What changes are proposed in this pull request?
This PR adds changes `DefaultCredentials` to return
`ErrCannotConfigureDefault` when it cannot determine the default auth
type. The goal is to make it easier for clients (such as the Databricks
CLI) to differentiate auth errors from config errors.
## How is this tested?
N/A
NO_CHANGELOG=trueErrCannotConfigureDefault when DefaulCredentials cannot determine the default auth type. (#1226)1 parent 616a9b4 commit df15242
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | | - | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
0 commit comments