mirror of https://github.com/databricks/cli.git
parent
c0cf3f8535
commit
79a52dc592
|
@ -12,6 +12,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"sync"
|
||||||
|
|
||||||
"github.com/databricks/cli/bundle/config"
|
"github.com/databricks/cli/bundle/config"
|
||||||
"github.com/databricks/cli/bundle/env"
|
"github.com/databricks/cli/bundle/env"
|
||||||
|
@ -68,7 +69,9 @@ type Bundle struct {
|
||||||
Metadata metadata.Metadata
|
Metadata metadata.Metadata
|
||||||
|
|
||||||
// Store a pointer to the workspace client.
|
// Store a pointer to the workspace client.
|
||||||
client *databricks.WorkspaceClient
|
// It can be initialized on demand after loading the configuration.
|
||||||
|
clientOnce sync.Once
|
||||||
|
client *databricks.WorkspaceClient
|
||||||
|
|
||||||
// Files that are synced to the workspace.file_path
|
// Files that are synced to the workspace.file_path
|
||||||
Files []fileset.File
|
Files []fileset.File
|
||||||
|
|
Loading…
Reference in New Issue