Add *asap as accepted time to ApierV1.SetActionPlan

This commit is contained in:
TeoV
2019-04-11 11:34:44 +03:00
committed by Dan Christian Bogos
parent 01504c4fe6
commit c3813ca3e0

View File

@@ -652,7 +652,8 @@ func (self *ApierV1) SetActionPlan(attrs AttrSetActionPlan, reply *string) (err
func verifyFormat(tStr string) bool {
if tStr == utils.EmptyString ||
tStr == utils.MetaEveryMinute ||
tStr == utils.MetaHourly {
tStr == utils.MetaHourly ||
tStr == utils.ASAP {
return true
}