Merge pull request #36627 from sjmh/fix/auth_skip_nomatch

Skip rest of loop on failed func match
This commit is contained in:
Mike Place 2016-11-11 12:47:12 +13:00 committed by GitHub
commit 3079d78332

View file

@ -789,6 +789,7 @@ class CkMinions(object):
# so this fn is permitted by all minions
if self.match_check(auth_list_entry, fun):
return True
continue
if isinstance(auth_list_entry, dict):
if len(auth_list_entry) != 1:
log.info('Malformed ACL: {0}'.format(auth_list_entry))