Skip to content

Commit

Permalink
Update source/perses/perses.go
Browse files Browse the repository at this point in the history
Co-authored-by: Augustin Husson <[email protected]>
  • Loading branch information
nicolastakashi and Nexucis authored Nov 28, 2024
1 parent 7609a52 commit f5d246d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/perses/perses.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (c *persesCollector) generateUsage(metricNames modelAPIV1.Set[string], curr
for metricName := range metricNames {
if usage, ok := metricUsage[metricName]; ok {
usage.Dashboards.Add(modelAPIV1.DashboardUsage{
ID: currentDashboard.Metadata.Name,
ID: fmt.Sprintf("%s/%s", currentDashboard.Metadata.Project, currentDashboard.Metadata.Name)

Check failure on line 94 in source/perses/perses.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in composite literal; possibly missing comma or } (typecheck)

Check failure on line 94 in source/perses/perses.go

View workflow job for this annotation

GitHub Actions / lint

missing ',' before newline in composite literal (typecheck)

Check failure on line 94 in source/perses/perses.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in composite literal; possibly missing comma or }) (typecheck)

Check failure on line 94 in source/perses/perses.go

View workflow job for this annotation

GitHub Actions / test

syntax error: unexpected newline in composite literal; possibly missing comma or }

Check failure on line 94 in source/perses/perses.go

View workflow job for this annotation

GitHub Actions / check code format

missing ',' before newline in composite literal
Name: currentDashboard.Metadata.Name,
URL: dashboardURL,
})
Expand Down

0 comments on commit f5d246d

Please sign in to comment.