Skip to content

Commit d9e5489

Browse files
Merge pull request #359 from RaphaelBut/fix-clustermonitoringebb
Fix clustermonitoringerrorbudgetburn
2 parents f98db9c + 0302cf7 commit d9e5489

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/investigations/clustermonitoringerrorbudgetburn/clustermonitoringerrorbudgetburn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (c *CMEBB) Run(r *investigation.Resources) (investigation.InvestigationResu
8585
}
8686

8787
func (c *CMEBB) Name() string {
88-
return "ClusterMonitoringErrorBudgetBurn"
88+
return "clustermonitoringerrorbudgetburn"
8989
}
9090

9191
func (c *CMEBB) Description() string {

pkg/investigations/investigation/investigation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ type InvestigationResult struct {
2222

2323
type Investigation interface {
2424
Run(resources *Resources) (InvestigationResult, error)
25+
// Please note that when adding an investigation the name and the directory currently need to be the same,
26+
// so that backplane-api can fetch the metadata.yaml
2527
Name() string
2628
Description() string
2729
IsExperimental() bool

0 commit comments

Comments
 (0)