diff options
Diffstat (limited to 'src/onaptests/templates')
-rw-r--r-- | src/onaptests/templates/status/base.html.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/onaptests/templates/status/base.html.j2 b/src/onaptests/templates/status/base.html.j2 index 41e55de..d46782d 100644 --- a/src/onaptests/templates/status/base.html.j2 +++ b/src/onaptests/templates/status/base.html.j2 @@ -97,7 +97,11 @@ 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 %} {% endif %} {% endif %} {% if k8s.phase %} |