From da5311a35f630748a984fcd84e0b5e619b7c822f Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Thu, 24 Mar 2016 12:46:53 +0000 Subject: [PATCH] Update common dependency to pick up label fix for #1489 --- vendor/github.com/prometheus/common/model/signature.go | 2 +- vendor/vendor.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/prometheus/common/model/signature.go b/vendor/github.com/prometheus/common/model/signature.go index cf14e82c5..8762b13c6 100644 --- a/vendor/github.com/prometheus/common/model/signature.go +++ b/vendor/github.com/prometheus/common/model/signature.go @@ -98,7 +98,7 @@ func labelSetToFastFingerprint(ls LabelSet) Fingerprint { // specified LabelNames into the signature calculation. The labels passed in // will be sorted by this function. func SignatureForLabels(m Metric, labels ...LabelName) uint64 { - if len(m) == 0 || len(labels) == 0 { + if len(labels) == 0 { return emptyLabelSignature } diff --git a/vendor/vendor.json b/vendor/vendor.json index 8cfe49543..e62100879 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -174,8 +174,8 @@ }, { "path": "github.com/prometheus/common/model", - "revision": "0e53cc19aa67dd2e8587a26e28643cb152f5403d", - "revisionTime": "2016-01-29T15:16:16+01:00" + "revision": "167b27da48d058a9b46d84b834d67f68f0243f67", + "revisionTime": "2016-03-18T12:23:18Z" }, { "path": "github.com/prometheus/common/route",