Code changes

This commit is contained in:
Prashanth Balasubramanian
2016-01-08 18:30:59 -08:00
parent 37b5726716
commit cc09a603dd
2 changed files with 12 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ func (s *gcmSource) query(metric, oldest, youngest string, labels []string, page
func retrieveRawSamples(res *gcm.ListTimeseriesResponse, output *[]int) {
for _, ts := range res.Timeseries {
for _, p := range ts.Points {
*output = append(*output, int(p.DoubleValue))
*output = append(*output, int(*p.DoubleValue))
}
}
}