Merge pull request #2153 from TBurnip/master

A fix for tags not mimicking AWS
This commit is contained in:
Mike Grima 2019-04-18 12:28:31 -07:00 committed by GitHub
commit 27b525123f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -450,6 +450,7 @@ EC2_DESCRIBE_INSTANCES = """<DescribeInstancesResponse xmlns="http://ec2.amazona
</blockDeviceMapping> </blockDeviceMapping>
<virtualizationType>{{ instance.virtualization_type }}</virtualizationType> <virtualizationType>{{ instance.virtualization_type }}</virtualizationType>
<clientToken>ABCDE1234567890123</clientToken> <clientToken>ABCDE1234567890123</clientToken>
{% if instance.get_tags() %}
<tagSet> <tagSet>
{% for tag in instance.get_tags() %} {% for tag in instance.get_tags() %}
<item> <item>
@ -460,6 +461,7 @@ EC2_DESCRIBE_INSTANCES = """<DescribeInstancesResponse xmlns="http://ec2.amazona
</item> </item>
{% endfor %} {% endfor %}
</tagSet> </tagSet>
{% endif %}
<hypervisor>xen</hypervisor> <hypervisor>xen</hypervisor>
<networkInterfaceSet> <networkInterfaceSet>
{% for nic in instance.nics.values() %} {% for nic in instance.nics.values() %}