From ef6b2ea07b67c55db3815eaf286837785a9235ce Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Tue, 22 Oct 2024 14:57:57 +0200 Subject: [PATCH] Generate file as key.dashboard.yml --- cmd/bundle/generate/dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bundle/generate/dashboard.go b/cmd/bundle/generate/dashboard.go index 5e4c84ed6..e139c4b1c 100644 --- a/cmd/bundle/generate/dashboard.go +++ b/cmd/bundle/generate/dashboard.go @@ -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, })