优化必需一个以上服务限制要求

This commit is contained in:
boyce
2020-10-23 17:47:31 +08:00
parent 93125e3f1c
commit 0dc6deee3b
2 changed files with 1 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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()