From db6c60ab7b161be80e84dae2e647072c7d311ac7 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 12 十二月 2019 10:43:38 +0800 Subject: [PATCH] update --- proc/master.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/proc/master.go b/proc/master.go index ddc9d1e..7c69c0a 100644 --- a/proc/master.go +++ b/proc/master.go @@ -13,7 +13,7 @@ } // MasterRole master -func MasterRole(ctx context.Context) { +func MasterRole(ctx context.Context) bool { reaper(ctx) util.InitDBAPI() @@ -35,4 +35,5 @@ } logo.Infof("START %d PROC %d SDK %s ID %s\n", k, pid, v.IpcId, v.SdkType) } + return true } -- Gitblit v1.8.0