Send controller images only for qemu, iou and dynamips

pull/565/head
Julien Duponchelle 8 years ago
parent 1b530bde3f
commit fe98163bd0
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -396,6 +396,7 @@ class Compute:
res = yield from self.http_query("GET", "/{}/images".format(type), timeout=120)
images = res.json
if type in ["qemu", "dynamips", "iou"]:
for path in scan_for_images(type):
image = os.path.basename(path)
if image not in [i['filename'] for i in images]:

Loading…
Cancel
Save