Skip to content

Commit

Permalink
fix(sentinel.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```bash
Examining redis/sentinel.sls of type state
[202] Jinja statement should have spaces before and after: {% statement %}
redis/sentinel.sls:22
{%for master,master_opts in redis_settings.sentinel.masters.items() %}
```
  • Loading branch information
myii committed Oct 9, 2019
1 parent af83bca commit 37e677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/sentinel.sls
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ redis_sentinel_config:
- service: redis_sentinel_service
{% if redis_settings.sentinel.masters is defined %}
{%for master,master_opts in redis_settings.sentinel.masters.items() %}
{% for master,master_opts in redis_settings.sentinel.masters.items() %}
{% if master_opts['notification-script'] is defined and master_opts['notification-script'].source_path is defined %}
redis_sentinel_{{ master }}_notification_script:
Expand Down

0 comments on commit 37e677a

Please sign in to comment.