Commit 13c68e6e by Erik Sundell

stackdriver: use correct name for variable

parent cb90b638
......@@ -190,8 +190,8 @@ func setAggParams(params *url.Values, query *tsdb.Query) {
}
re := regexp.MustCompile("[0-9]+")
aa, err := strconv.ParseInt(re.FindString(alignmentPeriod), 10, 64)
if err != nil || aa > 3600 {
seconds, err := strconv.ParseInt(re.FindString(alignmentPeriod), 10, 64)
if err != nil || seconds > 3600 {
alignmentPeriod = "+3600s"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment