From a1bb1fb1e5ff5cf18a6d287dfa02978ec7ca8fa1 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 20 十一月 2019 20:32:07 +0800 Subject: [PATCH] update esutil --- controllers/task.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/task.go b/controllers/task.go index 4f2dd14..8c2e205 100644 --- a/controllers/task.go +++ b/controllers/task.go @@ -102,7 +102,7 @@ //澶勭悊宸茶鍒犻櫎鐨勪换鍔� localConf, _ := cache.GetServerInfo() if localConf.AlarmIp != "" && localConf.ServerId != "" && localConf.AlarmPort>0 { - indexName := config.EsInfo.EsIndex.VideoPersons.IndexName + "," + config.EsInfo.EsIndex.Personaction.IndexName + indexName := config.EsInfo.EsIndex.AiOcean.IndexName esTaskM, e := esutil.AggregateTaskList(localConf.AlarmIp, strconv.Itoa(int(localConf.AlarmPort)), indexName, localConf.ServerId) if e==nil && esTaskM !=nil { for _,tM :=range esTaskM { -- Gitblit v1.8.0