We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ddb15 commit f57d76fCopy full SHA for f57d76f
internal/plot/list.go
@@ -65,11 +65,11 @@ func NewList(userPlots []UserPlot) (*List, error) {
65
return nil, fmt.Errorf("duplicate plot name %s", name)
66
}
67
68
- descs := metrics.All()
+ all := metrics.All()
69
pl := &List{
70
idxs: make(map[string]int),
71
- descs: descs,
72
- samples: make([]metrics.Sample, len(descs)),
+ descs: all,
+ samples: make([]metrics.Sample, len(all)),
73
userPlots: userPlots,
74
usedMetrics: make(map[string]struct{}),
75
0 commit comments