Use new URL for upload to subnet (#3720)

Old path: /api/auth/health_reports
New path: /api/health/upload

Signed-off-by: Shireesh Anjal <shireesh@minio.io>
This commit is contained in:
Shireesh Anjal
2021-05-15 22:20:22 -07:00
committed by GitHub
parent 60d3646baf
commit 9714e1cf49
+1 -1
View File
@@ -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"