Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Fixes #610 for control/plugin/client/client.go nil comparison #611

Merged
merged 1 commit into from
Dec 9, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion control/plugin/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func updateCache(mts []plugin.PluginMetricType) {
results := []core.Metric{}
dc := map[string][]core.Metric{}
for _, mt := range mts {
if mt.Labels == nil {
if mt.Labels() == nil {
// cache the individual metric
metricCache.put(core.JoinNamespace(mt.Namespace_), mt.Version(), mt)
} else {
Expand Down