Skip to content

Commit ad8130a

Browse files
committed
Specifying pool capacity is now optional.
1 parent 0f10691 commit ad8130a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/pool.xml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<pool type='{{ item.type }}'>
22
<name>{{ item.name }}</name>
3+
{% if item | selectattr('capacity', 'defined') | list %}
34
<capacity>{{ item.capacity }}</capacity>
5+
{% endif %}
46
<target>
57
<path>{{ item.path | default('placeholder_value') }}</path>
68
</target>

0 commit comments

Comments
 (0)