Skip to content

Commit 987690b

Browse files
jpinsonneaujotak
andauthored
Update pkg/config/config.go
Co-authored-by: Joel Takvorian <[email protected]>
1 parent a27407e commit 987690b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ func (c *Frontend) GetAggregateKeyLabels() map[string][]string {
324324
"droppedCause": {"PktDropLatestDropCause"},
325325
"dnsRCode": {"DnsFlagsResponseCode"},
326326
}
327-
for _, sc := range c.Scopes {
328-
keyLabels[sc.ID] = sc.Labels
327+
for i := range c.Scopes {
328+
keyLabels[c.Scopes[i].ID] = sc.Labels
329329
}
330330
return keyLabels
331331
}

0 commit comments

Comments
 (0)