aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/prometheus/common/model/value.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-02-19 01:49:51 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-02-19 01:49:51 +0000
commiteb57eaf30965ba24ff669d6f9c8d11cd24951777 (patch)
treed04d1e425f0fce5c0f696b8cab7e660630cbd362 /vendor/github.com/prometheus/common/model/value.go
parente8ff7ffe8e8c25195c64950b61c6c5754bbcd3ba (diff)
update dependencies
Diffstat (limited to 'vendor/github.com/prometheus/common/model/value.go')
-rw-r--r--vendor/github.com/prometheus/common/model/value.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/github.com/prometheus/common/model/value.go b/vendor/github.com/prometheus/common/model/value.go
index 7728aba..c9ed3ff 100644
--- a/vendor/github.com/prometheus/common/model/value.go
+++ b/vendor/github.com/prometheus/common/model/value.go
@@ -129,11 +129,8 @@ func (s *Sample) Equal(o *Sample) bool {
if !s.Timestamp.Equal(o.Timestamp) {
return false
}
- if s.Value.Equal(o.Value) {
- return false
- }
- return true
+ return s.Value.Equal(o.Value)
}
func (s Sample) String() string {