From c116c32e785c5501ec1351aeb36f572be5814bdc Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 16 四月 2020 11:28:01 +0800
Subject: [PATCH] uasa unit test

---
 controllers/swfsControllers.go |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/controllers/swfsControllers.go b/controllers/swfsControllers.go
index cb6454c..fd5ebca 100644
--- a/controllers/swfsControllers.go
+++ b/controllers/swfsControllers.go
@@ -123,6 +123,7 @@
 		url := "http://" + ip + ":7020/node/api-v/swfs/updateSWFSService"
 		fmt.Println("url", url)
 		http.Get(url)
+		fmt.Println("璇锋眰瀹屾瘯")
 	}
 }
 
@@ -200,11 +201,13 @@
 
 //鏋勫缓閲嶅惎娴佺▼
 func RestartAllServer(peersIp []string, coreBaseUnit int) {
+	fmt.Println("寮�濮嬫瀯寤洪噸鍚祦绋�")
 	coreThread := len(peersIp)/coreBaseUnit + 1
 	masterIp := make([]string, 0)
 	timeOut, _ := strconv.Atoi(config.Server.TimeOut)
 	var waitGroup sync.WaitGroup
 	for i, ip := range peersIp {
+		fmt.Println("閲嶅惎绗竴缁勬湇鍔�" + ip)
 		if (i+1)%coreThread == 0 {
 			masterIp = append(masterIp, strings.Split(ip, ":")[0])
 			for i := 0; i < len(masterIp); i++ {

--
Gitblit v1.8.0