mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ func usage(val interface{}) error{
|
|||||||
return nil
|
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]
|
Usage: originserver [-help] [-start node=1] [-stop] [-config path] [-pprof 0.0.0.0:6060]
|
||||||
`)
|
`)
|
||||||
console.PrintDefaults()
|
console.PrintDefaults()
|
||||||
|
|||||||
Reference in New Issue
Block a user