aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/templates')
-rw-r--r--src/onaptests/templates/status/base.html.j26
1 files changed, 1 insertions, 5 deletions
diff --git a/src/onaptests/templates/status/base.html.j2 b/src/onaptests/templates/status/base.html.j2
index d46782d..1a49e05 100644
--- a/src/onaptests/templates/status/base.html.j2
+++ b/src/onaptests/templates/status/base.html.j2
@@ -97,11 +97,7 @@ is-danger
{% if k8s.spec.selector.match_labels %}
{{ key_value_description_list('Selector', k8s.spec.selector.match_labels) | indent(width=6) }}
{% else %}
- {% if k8s.spec.selector.items %}
- {{ key_value_description_list('Selector', k8s.spec.selector) | indent(width=6) }}
- {% else %}
- {{ key_value_description_list('Selector', dict()) | indent(width=6) }}
- {% endif %}
+ {{ key_value_description_list('Selector', k8s.spec.selector.to_dict()) | indent(width=6) }}
{% endif %}
{% endif %}
{% if k8s.phase %}