Skip to content

Commit

Permalink
chore: update error message
Browse files Browse the repository at this point in the history
change `--metrics-address` to `--prometheus-port`
  • Loading branch information
EclesioMeloJunior authored Jun 5, 2023
1 parent 1143b2a commit 19606ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gossamer/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func addBaseConfigFlags(cmd *cobra.Command) error {
config.BaseConfig.PrometheusPort,
"Listen address of the prometheus server",
"prometheus-port"); err != nil {
return fmt.Errorf("failed to add --metrics-address flag: %s", err)
return fmt.Errorf("failed to add --prometheus-port flag: %s", err)
}
if err := addUint32FlagBindViper(cmd,
"retain-blocks",
Expand Down

0 comments on commit 19606ab

Please sign in to comment.