瀏覽代碼

Not to pass the engine param if present

Change-Id: I841e8d0aad0892fddfd34bfc27936403a46243f6
pull/56/head
Ales Komarek 7 年之前
父節點
當前提交
460277e7a7
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      salt/files/_engine.conf

+ 3
- 1
salt/files/_engine.conf 查看文件

@@ -2,5 +2,7 @@

engines:
{%- for engine_name, engine in master.engine.items() %}
- {{ engine.get('engine', engine_name) }}: {{ engine|yaml }}
{%- set name = engine.get('engine', engine_name) %}
{%- if engine.engine is defined %}{%- do engine.pop('engine') %}{% endif %}
- {{ name }}: {{ engine|yaml }}
{%- endfor %}

Loading…
取消
儲存