mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化必需一个以上服务限制要求
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user