fix: loading users regression

additionally also move to latest gorilla/mux master
to fix the DNS style bucket routing regression

resolves #10022
resolves #10023
This commit is contained in:
Harshavardhana
2020-07-11 14:02:07 -07:00
parent 3f1902face
commit 143f9371c6
4 changed files with 6 additions and 15 deletions

View File

@@ -324,7 +324,7 @@ func (iamOS *IAMObjectStore) loadUsers(ctx context.Context, userType IAMUserType
}
userName := item.Item
if err := iamOS.loadUser(userName, userType, m); err != errNoSuchUser {
if err := iamOS.loadUser(userName, userType, m); err != nil && err != errNoSuchUser {
return err
}
}