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

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

diff --git a/controllers/swfsControllers.go b/controllers/swfsControllers.go
index 1994c46..5006f36 100644
--- a/controllers/swfsControllers.go
+++ b/controllers/swfsControllers.go
@@ -118,11 +118,13 @@
 
 //鏇存柊鎵�鏈夎妭鐐圭殑鑴氭湰鍙傛暟
 func UpdateAllNodesScriptArgument(peersIp []string) {
+	fmt.Println("寮�濮嬫洿鏂版湰鍦伴厤缃枃浠�")
 	for _, ip := range peersIp {
 		fmt.Println("ip: ", ip)
 		url := "http://" + ip + ":7020/node/api-v/swfs/updateSWFSService"
 		fmt.Println("url", url)
 		resp, _ := http.Get(url)
+		fmt.Println("鏇存柊杩斿洖鐘舵�侊細", resp.StatusCode)
 		if resp.StatusCode == 200 {
 			fmt.Println("璇锋眰瀹屾瘯", resp.StatusCode)
 		}

--
Gitblit v1.8.0