add support for additional prometheus labels for query (#1936)

This commit is contained in:
Harshavardhana
2022-05-05 13:44:10 -07:00
committed by GitHub
parent 9103ea9d70
commit 3bfdbb5ec7
109 changed files with 606 additions and 841 deletions

View File

@@ -47,7 +47,8 @@ func getVersionResponse(params systemApi.CheckMinIOVersionParams) (*models.Check
ver, err := utils.GetLatestMinIOImage(&xhttp.Client{
Client: &http.Client{
Timeout: 15 * time.Second,
}})
},
})
if err != nil {
return nil, ErrorWithContext(ctx, err)
}