Skip to content

Commit

Permalink
CI: Fix sanity errors (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersson007 authored Aug 29, 2024
1 parent 37a718c commit 87be61c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions plugins/module_utils/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ def user_mod(cursor, user, host, host_all, password, encrypted,
update = True

if update:
query_with_args = None
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
1 change: 1 addition & 0 deletions plugins/modules/mysql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- Name of the user (role) to add or remove.
type: str
required: true
aliases: ['user']
password:
description:
- Set the user's password. Only for C(mysql_native_password) authentication.
Expand Down
1 change: 0 additions & 1 deletion tests/sanity/ignore-2.15.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
plugins/modules/mysql_db.py validate-modules:use-run-command-not-popen
plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import
1 change: 0 additions & 1 deletion tests/sanity/ignore-2.16.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
plugins/modules/mysql_db.py validate-modules:use-run-command-not-popen
plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import
1 change: 0 additions & 1 deletion tests/sanity/ignore-2.17.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
plugins/modules/mysql_db.py validate-modules:use-run-command-not-popen
plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import
1 change: 0 additions & 1 deletion tests/sanity/ignore-2.18.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
plugins/modules/mysql_db.py validate-modules:use-run-command-not-popen
plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import

0 comments on commit 87be61c

Please sign in to comment.