Skip to content

Commit 6da2b63

Browse files
committed
Merge pull request #211 from erjohnso/master
Fix copy/paste error for reading timeseries
2 parents 96a1da1 + ee947dc commit 6da2b63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

monitoring/api/labeled_custom_metric.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ def main(project_id, color, size, count):
177177
write_custom_metric(client, project_id, now_rfc3339,
178178
color, size, count)
179179
print ("Reading data from custom metric timeseries...")
180-
write_custom_metric(client, project_id, now_rfc3339, color,
181-
size, count)
180+
read_custom_metric(client, project_id, now_rfc3339, color, size)
182181

183182

184183
if __name__ == '__main__':

0 commit comments

Comments
 (0)