From 0dc6deee3bb63fe9dcd46852b020409105a4de23 Mon Sep 17 00:00:00 2001 From: boyce Date: Fri, 23 Oct 2020 17:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BF=85=E9=9C=80=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=BB=A5=E4=B8=8A=E6=9C=8D=E5=8A=A1=E9=99=90=E5=88=B6?= =?UTF-8?q?=E8=A6=81=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cluster/parsecfg.go | 3 --- node/node.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cluster/parsecfg.go b/cluster/parsecfg.go index d6aa00a..a780328 100644 --- a/cluster/parsecfg.go +++ b/cluster/parsecfg.go @@ -140,9 +140,6 @@ func (slf *Cluster) readLocalService(localNodeId int) error { } } - if len(slf.localServiceCfg)==0{ - return fmt.Errorf("No service configuration was found.") - } return nil } diff --git a/node/node.go b/node/node.go index 165b44b..e9a9284 100644 --- a/node/node.go +++ b/node/node.go @@ -44,7 +44,7 @@ func usage(val interface{}) error{ return nil } - fmt.Fprintf(os.Stderr, `orgin version: orgin/2.10.20201019 + fmt.Fprintf(os.Stderr, `orgin version: orgin/2.11.20201023 Usage: originserver [-help] [-start node=1] [-stop] [-config path] [-pprof 0.0.0.0:6060] `) console.PrintDefaults()