Update subcommands.go

This commit is contained in:
Mads Jon Nielsen
2024-01-03 10:38:55 +01:00
committed by GitHub
parent 521f5632d7
commit 2bf652c6fd

View File

@@ -411,7 +411,6 @@ func buildHealthCommand() *cli.Command {
}
func healthCommand(c *cli.Context) error {
metrics := strings.Split(c.String("metrics"), ":")
requestURL := fmt.Sprintf("http://%s/ready", c.String("metrics"))
res, err := http.Get(requestURL)
if err != nil {