From d7c96da2739b504a814b37eb225e43c930b44d08 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期一, 23 十二月 2019 13:48:28 +0800 Subject: [PATCH] udpate --- app/master/master.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/master/master.go b/app/master/master.go index 1e3cf20..728e3ca 100644 --- a/app/master/master.go +++ b/app/master/master.go @@ -16,7 +16,7 @@ } // Run run -func Run(ctx context.Context, configPath, soFile string) bool { +func Run(ctx context.Context, soFile, configPath string) bool { reaper(ctx) fetcher := NewFetcher(soFile) @@ -27,8 +27,8 @@ logo.Infoln("~~~~~~Created Fetcher, Now Sync From DB") - // 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) + 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() return manualStart(ctx, sdks, configPath) -- Gitblit v1.8.0