Minor cleanups.

Change-Id: Ia8685d8439a421fe2143d9ec7120d5bb5ab88d78
pull/413/head
Julius Volz 10 years ago committed by Bjoern Rabenstein
parent a746fbb8bc
commit 358f97791d

@ -23,9 +23,9 @@ import (
"time" "time"
"github.com/golang/glog" "github.com/golang/glog"
"github.com/prometheus/client_golang/prometheus"
clientmodel "github.com/prometheus/client_golang/model" clientmodel "github.com/prometheus/client_golang/model"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/prometheus/utility" "github.com/prometheus/prometheus/utility"
) )

@ -275,7 +275,7 @@ func dropCommonLabelsImpl(timestamp clientmodel.Timestamp, args []Node) interfac
} }
for _, el := range vector { for _, el := range vector {
for k, _ := range el.Metric { for k := range el.Metric {
if _, ok := common[k]; ok { if _, ok := common[k]; ok {
delete(el.Metric, k) delete(el.Metric, k)
} }

Loading…
Cancel
Save