bug fix nodata (#157)

* bug fix nodata
This commit is contained in:
sven 2020-05-26 12:33:39 +08:00 committed by GitHub
parent 36e000b988
commit 4b21874251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ func nodataJudge() {
nodataJob.Acquire() nodataJob.Acquire()
go AsyncJudge(nodataJob, stra, stra.Exprs, []*dataobj.HistoryData{}, judgeItem, now, []dataobj.History{}, "", "", "", []bool{}) go AsyncJudge(nodataJob, stra, stra.Exprs, []*dataobj.HistoryData{}, judgeItem, now, []dataobj.History{}, "", "", "", []bool{})
} }
return continue
} }
for _, data := range respData { for _, data := range respData {

View File

@ -143,7 +143,7 @@ func popEvent(queues []interface{}) (*model.Event, bool) {
groups, err := json.Marshal(stra.NotifyGroup) groups, err := json.Marshal(stra.NotifyGroup)
if err != nil { if err != nil {
logger.Errorf("users marshal failed, err: %v, event: %+v", err, event) logger.Errorf("groups marshal failed, err: %v, event: %+v", err, event)
return nil, false return nil, false
} }