Skip to content

Commit

Permalink
Fix identation and message
Browse files Browse the repository at this point in the history
  • Loading branch information
francescsanjuanmrf committed Nov 20, 2023
1 parent 185c326 commit c52f3a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/module_utils/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ def user_mod(cursor, user, host, host_all, password, encrypted,

if update:
password_changed = True
msg = "Password updated"
msg = "Auth pugin updated"
if module.check_mode:
return {'changed': True, 'msg': msg, 'password_changed': password_changed}
return {'changed': True, 'msg': msg, 'password_changed': password_changed}

Check warning on line 329 in plugins/module_utils/user.py

View check run for this annotation

Codecov / codecov/patch

plugins/module_utils/user.py#L329

Added line #L329 was not covered by tests
if plugin_hash_string:
query_with_args = "ALTER USER %s@%s IDENTIFIED WITH %s AS %s", (user, host, plugin, plugin_hash_string)
elif plugin_auth_string:
Expand Down

0 comments on commit c52f3a0

Please sign in to comment.