diff --git a/bundle/bundle.go b/bundle/bundle.go index 5d19b52e4..11ad06850 100644 --- a/bundle/bundle.go +++ b/bundle/bundle.go @@ -12,7 +12,6 @@ import ( "fmt" "os" "path/filepath" - "sync" "github.com/databricks/cli/bundle/config" "github.com/databricks/cli/bundle/env" @@ -69,9 +68,7 @@ type Bundle struct { Metadata metadata.Metadata // Store a pointer to the workspace client. - // It can be initialized on demand after loading the configuration. - clientOnce sync.Once - client *databricks.WorkspaceClient + client *databricks.WorkspaceClient // Files that are synced to the workspace.file_path Files []fileset.File