stackdriver: use correct name for variable
This commit is contained in:
1 parent
cb90b638d7
commit
13c68e6ed8
1 file changed
+2
-2
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user