Skip to content

Commit

Permalink
fix: clone macro support for optional argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jan 12, 2024
1 parent e2ff679 commit 94f0fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/utils/macros/clone-template.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include:
- {{ source }}.create
{% set prefix = "tpl-" -%}
{% if noprefix -%}
{% if noprefix is defined -%}
{%- set prefix = "" -%}
{% endif -%}
Expand Down

0 comments on commit 94f0fbe

Please sign in to comment.