From 84e3578f4552e29274ab388e1f30c6d701a98a0b Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期六, 11 一月 2020 15:14:59 +0800
Subject: [PATCH] debug split

---
 app/master/master.go |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/app/master/master.go b/app/master/master.go
index 3cad417..c4107e9 100644
--- a/app/master/master.go
+++ b/app/master/master.go
@@ -30,9 +30,12 @@
 	fetcher.fnInitDBAPI(util.FSI.IP, util.FSI.HTTPort, util.FSI.HBPort, util.FSI.DataPort, logo.Infoln)
 	// fetcher.fnInitDBAPI("192.168.20.10", util.FSI.HTTPort, util.FSI.HBPort, util.FSI.DataPort, logo.Infoln)
 	sdks := fetcher.fnSDKInfo()
-	if len(sdks) == 0 {
-		logo.Errorln("!!!!!!Fetcher Can't Get SDK Infos From Remote DB")
-		return false
+	for {
+		if len(sdks) == 0 {
+			logo.Errorln("!!!!!!Fetcher Can't Get SDK Infos From Remote DB")
+			continue
+		}
+		break
 	}
 	return manualStart(ctx, sdks, configPath)
 }

--
Gitblit v1.8.0