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

Commit

Permalink
Fix #795: Return both cached and collected metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
geauxvirtual committed Mar 22, 2016
1 parent 894cffb commit 8c55bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/available_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func (ap *availablePlugins) collectMetrics(pluginKey string, metricTypes []core.
p.(*availablePlugin).hitCount++
p.(*availablePlugin).lastHitTime = time.Now()

return metrics, nil
return results, nil
}

func (ap *availablePlugins) publishMetrics(contentType string, content []byte, pluginName string, pluginVersion int, config map[string]ctypes.ConfigValue, taskID string) []error {
Expand Down

0 comments on commit 8c55bbb

Please sign in to comment.