File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
1010
1111 "github.com/databricks/cli/cmd/labs/github"
1212 "github.com/databricks/cli/cmd/labs/unpack"
13- "github.com/databricks/cli/cmd/root"
1413 "github.com/databricks/cli/cmd/workspace/clusters"
1514 "github.com/databricks/cli/libs/cmdio"
15+ "github.com/databricks/cli/libs/databrickscfg"
1616 "github.com/databricks/cli/libs/log"
1717 "github.com/databricks/cli/libs/process"
1818 "github.com/databricks/cli/libs/python"
@@ -86,7 +86,7 @@ func (i *installer) Install(ctx context.Context) error {
8686 }
8787 i .folder = PathInLabs (ctx , i .Name )
8888 w , err := i .login (ctx )
89- if err != nil && errors .Is (err , root .ErrNoConfiguration ) {
89+ if err != nil && errors .Is (err , databrickscfg .ErrNoConfiguration ) {
9090 cfg := i .Installer .envAwareConfig (ctx )
9191 w , err = databricks .NewWorkspaceClient ((* databricks .Config )(cfg ))
9292 if err != nil {
Original file line number Diff line number Diff line change 44 "context"
55 "errors"
66 "fmt"
7- "io/fs"
87 "net/http"
9- "os"
108
119 "github.com/databricks/cli/bundle"
1210 "github.com/databricks/cli/libs/cmdio"
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ package env
22
33import (
44 "context"
5+ "fmt"
56 "os"
7+ "runtime"
68 "strings"
79)
810
You can’t perform that action at this time.
0 commit comments