save *asap action timings with empty account id list

This commit is contained in:
Radu Ioan Fericean
2014-08-13 14:38:52 +03:00
parent c64dae59d4
commit 6342c4a3e5
2 changed files with 12 additions and 3 deletions

View File

@@ -217,6 +217,9 @@ func (at *ActionTiming) getActions() (as []*Action, err error) {
}
func (at *ActionTiming) Execute() (err error) {
if len(at.AccountIds) == 0 { // nothing to do if no accounts set
return
}
at.resetStartTimeCache()
aac, err := at.getActions()
if err != nil {