Commit 887e236b by bergquist

fix(rule): fixes rule reading bug

parent 8cd9225e
......@@ -184,5 +184,6 @@ func validateToValue(to string) error {
}
}
return fmt.Errorf("cannot parse to value %s", to)
_, err := time.ParseDuration(to)
return err
}
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