Skip to content

Commit

Permalink
Merge pull request #670 from pyrra-dev/release-0.5-errorbudgetgraph-p…
Browse files Browse the repository at this point in the history
…anic-fix

Fix panic in ErrorBudgetGraph
  • Loading branch information
metalmatze authored Mar 31, 2023
2 parents 206fbc4 + 2aa45ba commit 490bebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ func (s *objectiveServer) GraphErrorBudget(ctx context.Context, req *connect.Req
}
if objective.Indicator.Latency != nil {
groupings := map[string]struct{}{}
for _, g := range objective.Indicator.Ratio.Grouping {
for _, g := range objective.Indicator.Latency.Grouping {
groupings[g] = struct{}{}
}

Expand Down

0 comments on commit 490bebc

Please sign in to comment.