handle the situation where the IP address (desired or actual) is null
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user