Commit ccd7d59b authored by Kristian Feldsam's avatar Kristian Feldsam

Iterate over images in order

Signed-off-by: Kristian Feldsam's avatarKristian Feldsam <feldsam@gmail.com>
parent e548369d
......@@ -45,8 +45,7 @@ _3par.login()
if not args.pruneOnly:
functions.send_email('Backup started! Images count: %d' % len(images))
for image_key in images:
image = images[image_key]
for key, image in sorted(images.iteritems()):
datastore = datastores[image.DATASTORE_ID]
# only datastores with 3PAR transfer manager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment