Skip to content

Commit

Permalink
change deprecated parameter db to database
Browse files Browse the repository at this point in the history
  • Loading branch information
ziegenberg committed Mar 12, 2021
1 parent 30247e7 commit b3a9937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def mysql_connect(module, login_user=None, login_password=None, config_file='',
if ssl_ca is not None:
config['ssl']['ca'] = ssl_ca
if db is not None:
config['db'] = db
config['database'] = db
if connect_timeout is not None:
config['connect_timeout'] = connect_timeout
if check_hostname is not None:
Expand Down

0 comments on commit b3a9937

Please sign in to comment.