Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keycloak_clientscope_type fix checkmode #9093

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix syntax error: remove extra ')'
  • Loading branch information
witrdotnet committed Nov 2, 2024
commit 28dbc98c0c8a022fd9cdb8bead6c198a9e876bad
5 changes: 3 additions & 2 deletions plugins/modules/keycloak_clientscope_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ def main():
default_clientscopes_delete = clientscopes_to_delete(default_clientscopes_existing, default_clientscopes_real)
optional_clientscopes_delete = clientscopes_to_delete(optional_clientscopes_existing, optional_clientscopes_real)

result["changed"] = any(len(x) > 0 for x in [default_clientscopes_add, optional_clientscopes_add, default_clientscopes_delete, optional_clientscopes_delete])
)
result["changed"] = any(len(x) > 0 for x in [
default_clientscopes_add, optional_clientscopes_add, default_clientscopes_delete, optional_clientscopes_delete
])

if module.check_mode:
module.exit_json(**result)
Expand Down