mirror of https://github.com/databricks/cli.git
Generate file as key.dashboard.yml
This commit is contained in:
parent
6057c135cf
commit
ef6b2ea07b
|
@ -202,7 +202,7 @@ func (d *dashboard) saveConfiguration(ctx context.Context, b *bundle.Bundle, das
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save the configuration to the resource directory.
|
// Save the configuration to the resource directory.
|
||||||
resourcePath := filepath.Join(d.resourceDir, fmt.Sprintf("%s.yml", key))
|
resourcePath := filepath.Join(d.resourceDir, fmt.Sprintf("%s.dashboard.yml", key))
|
||||||
saver := yamlsaver.NewSaverWithStyle(map[string]yaml.Style{
|
saver := yamlsaver.NewSaverWithStyle(map[string]yaml.Style{
|
||||||
"display_name": yaml.DoubleQuotedStyle,
|
"display_name": yaml.DoubleQuotedStyle,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue