getMapping now returns 3 values

This commit is contained in:
Brian Akins 2017-03-13 08:15:43 -04:00
parent 1488f0f902
commit 641dc37b5d

View file

@ -167,7 +167,7 @@ func TestMetricMapper(t *testing.T) {
}
for metric, mapping := range scenario.mappings {
labels, present := mapper.getMapping(metric)
_, labels, present := mapper.getMapping(metric)
if len(labels) == 0 && present {
t.Fatalf("%d.%q: Expected metric to not be present", i, metric)
}