Skip to content

Commit

Permalink
Tolerate DL MinIO unreachable (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaldivia authored Aug 12, 2020
1 parent e9a64c5 commit 1ad6e97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions restapi/admin_tenants.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ func getTenantCreatedResponse(session *models.Principal, params admin_api.Create

if minioImage == "" {
minImg, err := cluster.GetMinioImage()
if err != nil {
return nil, err
// we can live without figuring out the latest version of MinIO, Operator will use a hardcoded value
if err == nil {
minioImage = *minImg
}
minioImage = *minImg
}
// get Kubernetes Client
clientset, err := cluster.K8sClient(session.SessionToken)
Expand Down

0 comments on commit 1ad6e97

Please sign in to comment.