Do not cache to md5sum file in some situations

This commit is contained in:
grossmj
2022-04-18 17:13:52 +07:00
parent e6c8144210
commit 3106c8a6a2
5 changed files with 26 additions and 20 deletions

View File

@ -630,9 +630,6 @@ class Compute:
try:
if type in ["qemu", "dynamips", "iou"]:
# for local_image in list_images(type):
# if local_image['filename'] not in [i['filename'] for i in images]:
# images.append(local_image)
images = sorted(images, key=itemgetter("filename"))
else:
images = sorted(images, key=itemgetter("image"))