tech(alerting): change queryrange to int from str

This commit is contained in:
bergquist
2016-05-30 09:18:22 +02:00
parent 51511dd654
commit 16a9e56eca
9 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ type AlertRuleDTO struct {
Interval string `json:"interval"`
Title string `json:"title"`
Description string `json:"description"`
QueryRange string `json:"queryRange"`
QueryRange int `json:"queryRange"`
Aggregator string `json:"aggregator"`
State string `json:"state"`