Use getMetrics in ReadLatencyMetrics. #7572

This commit is contained in:
Robert Rati 2015-05-07 13:22:57 -04:00
parent ac282bd50a
commit b78576386f

View File

@ -957,7 +957,7 @@ type LatencyMetric struct {
}
func ReadLatencyMetrics(c *client.Client) ([]LatencyMetric, error) {
body, err := c.Get().AbsPath("/metrics").DoRaw()
body, err := getMetrics(c)
if err != nil {
return nil, err
}