better leader support in extra
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
{% if 'test' in extra.ejabberd.description -%}
|
||||
{% if 'test' in extra.ejabberd.description.description -%}
|
||||
contain test
|
||||
{% endif -%}
|
||||
{{ extra.ejabberd.description|length }}
|
||||
{% if 'a' in extra.ejabberd.description -%}
|
||||
{{ extra.ejabberd.description.description|length }}
|
||||
{% if 'a' in extra.ejabberd.description.description -%}
|
||||
contain a
|
||||
{% endif -%}
|
||||
{% for description in extra.ejabberd.description -%}
|
||||
{% for description in extra.ejabberd.description.description -%}
|
||||
leader: {{ description }}
|
||||
follower: {{ description.mode }}
|
||||
{% if description <= description.mode -%}
|
||||
@ -29,5 +29,5 @@ diff
|
||||
{{ description + description.mode }}
|
||||
{{ description.mode + description }}
|
||||
{% endfor -%}
|
||||
leader2: {{ extra.ejabberd.description[0] }}
|
||||
follower2: {{ extra.ejabberd.description[0].mode }}
|
||||
leader2: {{ extra.ejabberd.description.description[0] }}
|
||||
follower2: {{ extra.ejabberd.description.description[0].mode }}
|
||||
|
Reference in New Issue
Block a user