diff --git a/src/webapi/prom/prom.go b/src/webapi/prom/prom.go index 1fb4a2c4..c4a7ccb9 100644 --- a/src/webapi/prom/prom.go +++ b/src/webapi/prom/prom.go @@ -119,7 +119,7 @@ func loadClustersFromAPI() { for _, i := range rand.Perm(count) { url := urls[i] - res, err := httplib.Get(url).SetTimeout(time.Duration(3000) * time.Millisecond).Response() + res, err := httplib.Post(url).SetTimeout(time.Duration(3000) * time.Millisecond).Response() if err != nil { logger.Errorf("curl %s fail: %v", url, err) continue