From 9714e1cf491df0fafa178a259c5f01a84e5494ad Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Sun, 16 May 2021 10:50:22 +0530 Subject: [PATCH] Use new URL for upload to subnet (#3720) Old path: /api/auth/health_reports New path: /api/health/upload Signed-off-by: Shireesh Anjal --- cmd/admin-subnet-health.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/admin-subnet-health.go b/cmd/admin-subnet-health.go index 807af70d..6e264d21 100644 --- a/cmd/admin-subnet-health.go +++ b/cmd/admin-subnet-health.go @@ -326,7 +326,7 @@ func uploadHealthReport(alias string, clusterName string, filename string, licen } func subnetUploadURL(clusterName string, filename string, license string, dev bool) string { - const apiPath = "/api/auth/health_reports" + const apiPath = "/api/health/upload" baseURL := "https://subnet.min.io" if dev { baseURL = "http://localhost:9000"