From d671ea8ec8658da21990d5418c981d74f6015045 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 11 十二月 2019 11:50:43 +0800 Subject: [PATCH] add conf path --- esutil/EsClient.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/esutil/EsClient.go b/esutil/EsClient.go index bcc3d2f..bc1e81f 100644 --- a/esutil/EsClient.go +++ b/esutil/EsClient.go @@ -375,6 +375,8 @@ preSec := "10" if sec <=0 { preSec = "10" + } else { + preSec = strconv.Itoa(sec) } var filterArr []string if ishub == "hub" { -- Gitblit v1.8.0