From 64e1f553d10fe0fa0f5c8b85fea6f0a22f9fa633 Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Fri, 10 Mar 2023 11:03:25 +0100 Subject: [PATCH] cli: remove Edition in version command, which contains duplicate info --- cli/internal/cmd/version.go | 1 - internal/constants/enterprise.go | 3 --- internal/constants/oss.go | 3 --- 3 files changed, 7 deletions(-) diff --git a/cli/internal/cmd/version.go b/cli/internal/cmd/version.go index fa9a3537b..fba72bb20 100644 --- a/cli/internal/cmd/version.go +++ b/cli/internal/cmd/version.go @@ -36,7 +36,6 @@ func runVersion(cmd *cobra.Command, args []string) { } cmd.Printf("Version:\t%s (%s)\n", constants.VersionInfo(), constants.VersionBuild) - cmd.Printf("Edition:\t%s\n", constants.Edition) cmd.Printf("GitCommit:\t%s\n", commit) cmd.Printf("GitTreeState:\t%s\n", state) cmd.Printf("BuildDate:\t%s\n", date) diff --git a/internal/constants/enterprise.go b/internal/constants/enterprise.go index f93f8252b..1129698d8 100644 --- a/internal/constants/enterprise.go +++ b/internal/constants/enterprise.go @@ -17,6 +17,3 @@ JmEe5iSLvG1SyQSAew7WdMKF6o9t8e2TFuCkzlOhhlws2OHWbiFZnFWCFw== // VersionBuild is the category of the current build. const VersionBuild = "Enterprise build; see documentation for license agreement" - -// Edition is the edition of the CLI. -const Edition = "Enterprise" diff --git a/internal/constants/oss.go b/internal/constants/oss.go index 1327828c9..f9c4bb72e 100644 --- a/internal/constants/oss.go +++ b/internal/constants/oss.go @@ -17,6 +17,3 @@ b92PDCpM7FZAINQF88s1TZS/HmRXYk62UJ4eqPduvUnJmXhNikhLbMi6fw== // VersionBuild is the category of the current build. const VersionBuild = "Open-source software build; AGPL-3.0-only applies" - -// Edition is the edition of the CLI. -const Edition = "Community"