File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717 "kind": "{{ item.kind }}",
1818 {% endif -%}
1919 {% if item .proxy is defined -%}
20- "proxy": {{ item.proxy | to_json }},
20+ "proxy": {{ item.proxy | to_json(sort_keys=True) }},
2121 {% endif -%}
2222 {% if item .meta is defined -%}
23- "meta": {{ item.meta | to_json }},
23+ "meta": {{ item.meta | to_json(sort_keys=True) }},
2424 {% endif -%}
2525 {% if item .checks is defined -%}
26- "checks": {{ item.checks | to_json }},
26+ "checks": {{ item.checks | to_json(sort_keys=True) }},
2727 {% endif -%}
2828 {% if item .connect is defined -%}
29- "connect": {{ item.connect | to_json }},
29+ "connect": {{ item.connect | to_json(sort_keys=True) }},
3030 {% endif -%}
3131 {% if item .weights is defined -%}
32- "weights": {{ item.weights | to_json }},
32+ "weights": {{ item.weights | to_json(sort_keys=True) }},
3333 {% endif -%}
3434 {% if item .token is defined -%}
3535 "token": {{ item.token | to_json }},
3636 {% endif -%}
37- "tags": {% if item . tags is defined - %} {{ item.tags|to_json }} {% else %} [] {% endif - % }
37+ "tags": {{ item.tags|default( [] )|to_json(sort_keys=True) } }
3838 }
3939}
You can’t perform that action at this time.
0 commit comments