Skip to content

Commit

Permalink
Merge pull request #41 from sticky-note/fix/exports
Browse files Browse the repository at this point in the history
fix(exports): check if exports is `mapping` before iterating on it
  • Loading branch information
sticky-note authored Jan 30, 2022
2 parents 25622e6 + c2678d8 commit 0c2054c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nfs/files/exports
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# Your changes will be overwritten.
########################################################################
#
{% for dir, opts in salt['pillar.get']('nfs:server:exports').items() -%}
{% for dir, opts in salt['pillar.get']('nfs:server:exports', {}).items() -%}
{{ dir }} {{ opts }}
{% endfor -%}

0 comments on commit 0c2054c

Please sign in to comment.