Skip to content

Commit

Permalink
router: Unfixing that bug was the wrong move.
Browse files Browse the repository at this point in the history
...Or may be I had already rebased on top of the trunk's fix. Don't know.
  • Loading branch information
jiceatscion committed Nov 6, 2023
1 parent 7628689 commit eb01da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func newInterfaceMetrics(
localIA addr.IA,
neighbors map[uint16]addr.IA) interfaceMetrics {

ifLabels := interfaceLabels(0, localIA, neighbors)
ifLabels := interfaceLabels(id, localIA, neighbors)
m := interfaceMetrics{}
for sc := minSizeClass; sc < maxSizeClass; sc++ {
scLabels := prometheus.Labels{"sizeclass": sc.String()}
Expand Down

0 comments on commit eb01da4

Please sign in to comment.