From 93d62ff96dafca109b426e397396ad3a46cf295d Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 21 一月 2020 17:14:21 +0800 Subject: [PATCH] bug fixed and test --- app/master/master.go | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/master/master.go b/app/master/master.go index 797d4d1..e4d0f91 100644 --- a/app/master/master.go +++ b/app/master/master.go @@ -96,7 +96,7 @@ continue } - logo.Infoln("~~~~~~Recv New SDKInfos") + logo.Infoln("~~~~~~Before Recv New SDKInfos") var typeProcs []TypeProc @@ -135,7 +135,7 @@ } chProc <- typeProcs - logo.Infoln("~~~~~~Recv New SDKInfos Over") + logo.Infof("~~~~~~Recv New SDKInfos %+v\n", typeProcs) default: time.Sleep(10 * time.Millisecond) @@ -173,12 +173,13 @@ pathExist := true for _, v := range envs { if !util.IsFileExist(v) { + logo.Infoln("Can't Find Runtime Path:", v, "Skip SDK: ", typ) pathExist = false break } } if !pathExist { - logo.Infoln("Can't Find Runtime Path, Skip SDK: ", typ) + return nil } } -- Gitblit v1.8.0