Merge pull request #52043 from arsiesys/fix_influxdb_state_rp

fix missing client_args in influxdb module
This commit is contained in:
Daniel Wozniak 2019-04-11 20:43:02 -07:00 committed by GitHub
commit 2d59705a29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ def present(name, database, duration="7d",
return ret
else:
current_policy = __salt__['influxdb.get_retention_policy'](database=database, name=name)
current_policy = __salt__['influxdb.get_retention_policy'](database=database, name=name, **client_args)
update_policy = False
if current_policy['duration'] != convert_duration(duration):
update_policy = True