mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix a call to deprecated method in python-influxdb
1da39bf860/influxdb/influxdb08/client.py (L543-L553)
This commit is contained in:
parent
25d3a75d8c
commit
46d7d92069
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ def user_list(database=None, user=None, password=None, host=None, port=None):
|
|||
client = _client(user=user, password=password, host=host, port=port)
|
||||
if database:
|
||||
client.switch_database(database)
|
||||
return client.get_database_users()
|
||||
return client.get_list_users()
|
||||
return client.get_list_cluster_admins()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue