Skip to content

Commit f57d76f

Browse files
committed
Cosmetics
1 parent 80ddb15 commit f57d76f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/plot/list.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ func NewList(userPlots []UserPlot) (*List, error) {
6565
return nil, fmt.Errorf("duplicate plot name %s", name)
6666
}
6767

68-
descs := metrics.All()
68+
all := metrics.All()
6969
pl := &List{
7070
idxs: make(map[string]int),
71-
descs: descs,
72-
samples: make([]metrics.Sample, len(descs)),
71+
descs: all,
72+
samples: make([]metrics.Sample, len(all)),
7373
userPlots: userPlots,
7474
usedMetrics: make(map[string]struct{}),
7575
}

0 commit comments

Comments
 (0)