mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-06-21 11:56:33 +00:00
Update subcommands.go
This commit is contained in:
parent
521f5632d7
commit
2bf652c6fd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user