Expose enterprise-commit in server version output (#75897)

* Expose enterprise-commit in server version output

* Define a DefaultCommitValue constant
This commit is contained in:
Horst Gutmann
2023-10-04 14:51:35 +02:00
committed by GitHub
parent 6274e5b45e
commit 9813d17e93
3 changed files with 10 additions and 3 deletions
+2
View File
@@ -11,6 +11,8 @@ import (
"github.com/grafana/grafana/pkg/cmd/grafana-cli/utils"
)
const DefaultCommitValue = "NA"
// CLICommand is the entrypoint for the grafana-cli command. It returns the exit code for the grafana-cli program.
func CLICommand(version string) *cli.Command {
return &cli.Command{