HealthCheck: show enterprise commit (#75242)
This commit is contained in:
committed by
GitHub
parent
3529b7413d
commit
4cfc834c08
@@ -23,25 +23,27 @@ import (
|
||||
)
|
||||
|
||||
type ServerOptions struct {
|
||||
Version string
|
||||
Commit string
|
||||
BuildBranch string
|
||||
BuildStamp string
|
||||
Context *cli.Context
|
||||
Version string
|
||||
Commit string
|
||||
EnterpriseCommit string
|
||||
BuildBranch string
|
||||
BuildStamp string
|
||||
Context *cli.Context
|
||||
}
|
||||
|
||||
func ServerCommand(version, commit, buildBranch, buildstamp string) *cli.Command {
|
||||
func ServerCommand(version, commit, enterpriseCommit, buildBranch, buildstamp string) *cli.Command {
|
||||
return &cli.Command{
|
||||
Name: "server",
|
||||
Usage: "run the grafana server",
|
||||
Flags: commonFlags,
|
||||
Action: func(context *cli.Context) error {
|
||||
return RunServer(ServerOptions{
|
||||
Version: version,
|
||||
Commit: commit,
|
||||
BuildBranch: buildBranch,
|
||||
BuildStamp: buildstamp,
|
||||
Context: context,
|
||||
Version: version,
|
||||
Commit: commit,
|
||||
EnterpriseCommit: enterpriseCommit,
|
||||
BuildBranch: buildBranch,
|
||||
BuildStamp: buildstamp,
|
||||
Context: context,
|
||||
})
|
||||
},
|
||||
Subcommands: []*cli.Command{TargetCommand(version, commit, buildBranch, buildstamp)},
|
||||
|
||||
Reference in New Issue
Block a user