commit | 3b4946332139c2301af0502f4198544b22633486 | [log] [tgz] |
---|---|---|
author | Abhilash S.L <abhilash.laxmeshwar@radisys.com> | Tue Jul 16 15:51:09 2019 +0530 |
committer | Abhilash S.L <abhilash.laxmeshwar@radisys.com> | Thu Jul 18 12:34:19 2019 +0530 |
tree | 1fbb00e12b07d59e896886ad0ef61144961b62d5 | |
parent | f880eb68e4bd1d11de08fd65d545d764ff8e7bfe [diff] [blame] |
VOL-1691 Fix openolt adapter getting stuck while registartion with core Change-Id: Ide8131f325bc15f1b909e14d7af6ee9bcd6b3b5b
diff --git a/vendor/github.com/armon/go-metrics/metrics.go b/vendor/github.com/armon/go-metrics/metrics.go index cf9def7..4920d68 100644 --- a/vendor/github.com/armon/go-metrics/metrics.go +++ b/vendor/github.com/armon/go-metrics/metrics.go
@@ -197,7 +197,7 @@ if labels == nil { return nil } - toReturn := labels[:0] + toReturn := []Label{} for _, label := range labels { if m.labelIsAllowed(&label) { toReturn = append(toReturn, label)