We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d09460d commit 3116cbbCopy full SHA for 3116cbb
1 file changed
cmd/auth/logout.go
@@ -4,6 +4,7 @@ import (
4
"context"
5
"errors"
6
"fmt"
7
+ "strings"
8
9
"github.com/databricks/cli/libs/cmdio"
10
"github.com/databricks/cli/libs/databrickscfg"
@@ -72,7 +73,7 @@ environment (e.g. CI/CD), omitting --profile is an error.
72
73
if !cmdio.IsPromptSupported(ctx) {
74
return errors.New("the command is being run in a non-interactive environment, please specify a profile to log out of using --profile")
75
}
- allProfiles, err := profiler.LoadProfiles(ctx, profile.MatchAllProfiles)
76
+ allProfiles, err := profile.DefaultProfiler.LoadProfiles(ctx, profile.MatchAllProfiles)
77
if err != nil {
78
return err
79
0 commit comments