fix(Alerting): Fixed alert rules with eval in day units, fixes #16174 (#16182)

This commit is contained in:
Torkel Ödegaard
2019-03-25 16:27:58 +01:00
committed by GitHub
parent 8a396acdb4
commit 7c81f4dfd8
2 changed files with 2 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ var unitMultiplier = map[string]int{
"s": 1,
"m": 60,
"h": 3600,
"d": 86400,
}
func getTimeDurationStringToSeconds(str string) (int64, error) {