fix(keeper): add enterprise and community edition info

This commit is contained in:
qevolg 2025-01-03 11:04:24 +08:00
parent 4984a6ceba
commit d50caeb429
1 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,11 @@ func InitConfig() *Config {
}
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("git: %s\n", version.Gitinfo)
fmt.Printf("build: %s\n", version.BuildInfo)