We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df4eb1c commit a114254Copy full SHA for a114254
1 file changed
server/main/main.go
@@ -19,12 +19,15 @@ var (
19
20
func main() {
21
flag.Parse()
22
+ if version == "" {
23
+ version = "v1.0.2"
24
+ }
25
if *showver {
26
printver()
27
os.Exit(0)
28
}
- log.Infoln("Starting cBridge node...")
- s := server.NewServer()
29
+ log.Infof("Starting cBridge node, version:%s ...", version)
30
+ s := server.NewServer(version)
31
log.Infoln("Loading config file...")
32
cbConfig, err := server.ParseCfgFile(*config)
33
if err != nil {
0 commit comments