Generate file as key.dashboard.yml

This commit is contained in:
Pieter Noordhuis 2024-10-22 14:57:57 +02:00
parent 6057c135cf
commit ef6b2ea07b
No known key found for this signature in database
GPG Key ID: 12ACCCC104CF2930
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ func (d *dashboard) saveConfiguration(ctx context.Context, b *bundle.Bundle, das
}
// 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{
"display_name": yaml.DoubleQuotedStyle,
})