Skip to content

Commit 3116cbb

Browse files
Fix missing strings import in logout.go
1 parent d09460d commit 3116cbb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/auth/logout.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"errors"
66
"fmt"
7+
"strings"
78

89
"github.com/databricks/cli/libs/cmdio"
910
"github.com/databricks/cli/libs/databrickscfg"
@@ -72,7 +73,7 @@ environment (e.g. CI/CD), omitting --profile is an error.
7273
if !cmdio.IsPromptSupported(ctx) {
7374
return errors.New("the command is being run in a non-interactive environment, please specify a profile to log out of using --profile")
7475
}
75-
allProfiles, err := profiler.LoadProfiles(ctx, profile.MatchAllProfiles)
76+
allProfiles, err := profile.DefaultProfiler.LoadProfiles(ctx, profile.MatchAllProfiles)
7677
if err != nil {
7778
return err
7879
}

0 commit comments

Comments
 (0)