瀏覽代碼

fix newline to make service.xml files more readable

tags/v0.6.2
Niels Abspoel 9 年之前
父節點
當前提交
e77a52cf27
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      firewalld/files/service.xml

+ 3
- 3
firewalld/files/service.xml 查看文件

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
{%- if 'short' in service %}<short>{{ service.short }}</short>{%- else %}<short>{{ name }}</short>{%- endif %}
{%- if 'description' in service %}<description>{{ service.description }}</description>{%- endif %}
<service version="1">
{% if 'short' in service %}<short>{{ service.short }}</short>{%- else %}<short>{{ name }}</short>{%- endif %}
{% if 'description' in service %}<description>{{ service.description }}</description>{%- endif %}
{%- if 'ports' in service %}
{%- if 'tcp' in service.ports %}
{%- for v in service.ports.tcp %}

Loading…
取消
儲存