Skip to content

Commit

Permalink
fix unsupported protocol scheme when calling reload statsd-exporter
Browse files Browse the repository at this point in the history
Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
  • Loading branch information
zufardhiyaulhaq committed Oct 12, 2023
1 parent dcb7b4f commit ce5fdfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/ratelimitservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func reloadStatsdExporter(domain string) error {
Timeout: 5 * time.Second,
}

response, err := client.Post(domain+":9102/-/reload", "", nil)
response, err := client.Post("http://"+domain+":9102/-/reload", "", nil)
if err != nil {
return err
}
Expand Down

0 comments on commit ce5fdfa

Please sign in to comment.