Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
Signed-off-by: George Robinson <[email protected]>
  • Loading branch information
grobinson-grafana committed Feb 19, 2024
1 parent 28faeea commit 8ef7063
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

const clusterHelp = `View cluster status and peers.`

// clusterCmd represents the cluster command.
// configureClusterCmd represents the cluster command.
func configureClusterCmd(app *kingpin.Application) {
clusterCmd := app.Command("cluster", clusterHelp)
clusterCmd.Command("show", clusterHelp).Default().Action(execWithTimeout(showStatus)).PreAction(requireAlertManagerURL)
Expand Down
2 changes: 1 addition & 1 deletion cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The amount of output is controlled by the output selection flag:
- Json: Print entire config object as json
`

// configCmd represents the config command.
// configureConfigCmd represents the config command.
func configureConfigCmd(app *kingpin.Application) {
configCmd := app.Command("config", configHelp)
configCmd.Command("show", configHelp).Default().Action(execWithTimeout(queryConfig)).PreAction(requireAlertManagerURL)
Expand Down
2 changes: 1 addition & 1 deletion cli/silence.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/alecthomas/kingpin/v2"
)

// silenceCmd represents the silence command.
// configureSilenceCmd represents the silence command.
func configureSilenceCmd(app *kingpin.Application) {
silenceCmd := app.Command("silence", "Add, expire or view silences. For more information and additional flags see query help").PreAction(requireAlertManagerURL)
configureSilenceAddCmd(silenceCmd)
Expand Down

0 comments on commit 8ef7063

Please sign in to comment.