mirror of https://github.com/databricks/cli.git
Update bundle/config/validate/no_workspace_prefix_used.go
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
This commit is contained in:
parent
9675aa7294
commit
6f300a1089
|
@ -30,7 +30,7 @@ func (m *noWorkspacePrefixUsed) Apply(ctx context.Context, b *bundle.Bundle) dia
|
||||||
"/Workspace/${workspace.state_path}",
|
"/Workspace/${workspace.state_path}",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Walk through the bundle configuration, check all the string leaves and
|
// Walk through the bundle configuration, check all the string leafs and
|
||||||
// see if any of the prefixes are used in the remote path.
|
// see if any of the prefixes are used in the remote path.
|
||||||
_, err := dyn.Walk(b.Config.Value(), func(p dyn.Path, v dyn.Value) (dyn.Value, error) {
|
_, err := dyn.Walk(b.Config.Value(), func(p dyn.Path, v dyn.Value) (dyn.Value, error) {
|
||||||
vv, ok := v.AsString()
|
vv, ok := v.AsString()
|
||||||
|
|
Loading…
Reference in New Issue