From b02f26a724956f926b00c52ae1a03fba6afb79fa Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期二, 02 七月 2019 10:08:15 +0800
Subject: [PATCH] AlarmRules大写改小写

---
 cache/cache.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cache/cache.go b/cache/cache.go
index e1120c2..f72a1e0 100644
--- a/cache/cache.go
+++ b/cache/cache.go
@@ -20,6 +20,7 @@
 
 
 func Init(initChan chan bool,dbIp string,surveyPort int,pubSubPort int){
+	cMap = shardmap.New(uint8(32))
 	urlSurvey := "tcp://" + dbIp + ":" + strconv.Itoa(surveyPort)
 	urlPubSub := "tcp://" + dbIp + ":" + strconv.Itoa(pubSubPort)
 	client, _ := gopherdiscovery.ClientWithSub(urlSurvey, urlPubSub, uuid.NewV4().String())

--
Gitblit v1.8.0