Renamed unixEpochFilterNano to unixEpochNanoFilter

This commit is contained in:
Ander Arguiñano
2019-01-03 20:40:17 +01:00
parent 1a67a8db80
commit 4d8d2a9690
2 changed files with 7 additions and 7 deletions

View File

@ -122,7 +122,7 @@ func (m *postgresMacroEngine) evaluateMacro(name string, args []string) (string,
return "", fmt.Errorf("missing time column argument for macro %v", name)
}
return fmt.Sprintf("%s >= %d AND %s <= %d", args[0], m.timeRange.GetFromAsSecondsEpoch(), args[0], m.timeRange.GetToAsSecondsEpoch()), nil
case "__unixEpochFilterNano":
case "__unixEpochNanoFilter":
if len(args) == 0 {
return "", fmt.Errorf("missing time column argument for macro %v", name)
}