Merge pull request #29458 from taosdata/fix/keeper/version

fix(keeper): add enterprise and community edition info
This commit is contained in:
Linhe Huo 2025-01-06 12:07:50 +08:00 committed by GitHub
commit db6e5ad0d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)