handle the situation where the IP address (desired or actual) is null

This commit is contained in:
2021-12-09 15:04:16 -06:00
parent ca26d4b2af
commit 57c62a7abc
2 changed files with 46 additions and 6 deletions

View File

@ -76,6 +76,34 @@
{% endif %}
{% if has_no_desired_ip_address|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>🐣 has no desired ip address 🐣</h1>
</div>
{% for vm in has_no_desired_ip_address %}
<div class="row">
{{vm['id']}}
</div>
{% endfor %}
<hr/>
</div>
{% endif %}
{% if has_not_aquired_ip_address_yet|length > 0 %}
<div class="third-margin">
<div class="row">
<h1>🏃 hasn't aquired an ip address yet 🏃</h1>
</div>
{% for vm in has_not_aquired_ip_address_yet %}
<div class="row">
{{vm['id']}} desired_ipv4={{vm['public_ipv4']}}
</div>
{% endfor %}
<hr/>
</div>
{% endif %}
{% if stole_someone_elses_ip_and_own_ip_avaliable|length > 0 %}
<div class="third-margin">