summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
authorTroy Toman <troy.toman@rackspace.com>2012-07-13 17:22:23 -0500
committerTroy Toman <troy.toman@rackspace.com>2012-07-13 17:24:37 -0500
commit4e7bb008effe92a4e06a2d104cbd1ea0d19a5db6 (patch)
tree92c5c8aaff98b143631234867281e48c7a1eeefe /nova/virt
parent38beedcb13b839b3d2b87e53cab5198b211ba65b (diff)
bug 1024557
De-dupes the list of DNS IPs that is put in the xenstore for network configuration Added a duplicate DNS IP in the fake_network to create a valid test. Change-Id: I25a00c7e47578b1667992aa4bad879667198465a
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/xenapi/vmops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index f9958ff4c..687ec0b65 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -1265,7 +1265,7 @@ class VMOps(object):
info_dict['routes'] = routes
if dns:
- info_dict['dns'] = dns
+ info_dict['dns'] = list(set(dns))
return info_dict