Skip to content

Commit

Permalink
Merge pull request #52043 from arsiesys/fix_influxdb_state_rp
Browse files Browse the repository at this point in the history
fix missing client_args in influxdb module
  • Loading branch information
dwoz committed Apr 12, 2019
2 parents 1b969c3 + e617c5b commit 2d59705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/states/influxdb_retention_policy.py
Expand Up @@ -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
Expand Down

0 comments on commit 2d59705

Please sign in to comment.