mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
Update plugins/modules/keycloak_authz_resource.py
Co-authored-by: Mark Armstrong <markparmstrong@gmail.com>
This commit is contained in:
parent
25f485a342
commit
3b6d35e28e
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ def main():
|
||||||
module.fail_json(msg='Invalid client %s for realm %s' %
|
module.fail_json(msg='Invalid client %s for realm %s' %
|
||||||
(client_id, realm))
|
(client_id, realm))
|
||||||
|
|
||||||
# Get current state of the permission using its name as the search
|
# Get current state of the resource using its name as the search
|
||||||
# filter. This returns False if it is not found.
|
# filter. This returns False if it is not found.
|
||||||
resource = kc.get_authz_resource_by_name(
|
resource = kc.get_authz_resource_by_name(
|
||||||
name=name, client_id=cid, realm=realm)
|
name=name, client_id=cid, realm=realm)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue