From 9303b69ea569bcb5e581147543a3fd58e90d0d25 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 20 八月 2020 20:05:23 +0800
Subject: [PATCH] add get buckets contrl

---
 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