Update godeps
This commit is contained in:
parent
597a0e691a
commit
9085e24a29
50 changed files with 5284 additions and 4676 deletions
2
vendor/github.com/prometheus/common/model/metric.go
generated
vendored
2
vendor/github.com/prometheus/common/model/metric.go
generated
vendored
|
|
@ -44,7 +44,7 @@ func (m Metric) Before(o Metric) bool {
|
|||
|
||||
// Clone returns a copy of the Metric.
|
||||
func (m Metric) Clone() Metric {
|
||||
clone := Metric{}
|
||||
clone := make(Metric, len(m))
|
||||
for k, v := range m {
|
||||
clone[k] = v
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue