fix(keeper): add enterprise and community edition info
This commit is contained in:
parent
4984a6ceba
commit
d50caeb429
|
@ -78,6 +78,11 @@ func InitConfig() *Config {
|
||||||
}
|
}
|
||||||
|
|
||||||
if *v {
|
if *v {
|
||||||
|
if version.IsEnterprise == "true" {
|
||||||
|
fmt.Printf("%s Enterprise Edition\n", version.CUS_NAME)
|
||||||
|
} else {
|
||||||
|
fmt.Printf("%s Community Edition\n", version.CUS_NAME)
|
||||||
|
}
|
||||||
fmt.Printf("%s version: %s\n", Name, version.Version)
|
fmt.Printf("%s version: %s\n", Name, version.Version)
|
||||||
fmt.Printf("git: %s\n", version.Gitinfo)
|
fmt.Printf("git: %s\n", version.Gitinfo)
|
||||||
fmt.Printf("build: %s\n", version.BuildInfo)
|
fmt.Printf("build: %s\n", version.BuildInfo)
|
||||||
|
|
Loading…
Reference in New Issue