From 53b43342f3d7a6e6d7eb54dafeab264276ea3b64 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期二, 19 十一月 2019 16:06:28 +0800 Subject: [PATCH] update all to new --- 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