influxdb_user: Fixed default password behavior (#47040)

This commit is contained in:
Michael Rose 2018-11-23 11:25:07 -08:00 committed by John R Barker
parent 8880c72682
commit 1eed8900ed

View file

@ -157,7 +157,7 @@ def main():
state = module.params['state']
user_name = module.params['user_name']
user_password = module.params['user_password']
user_password = module.params['user_password'] or ''
admin = module.params['admin']
influxdb = influx.InfluxDb(module)
client = influxdb.connect_to_influxdb()