Merge pull request #491 from jakedt/migratebackp2

Migrate image data back phase 2
This commit is contained in:
josephschorr 2015-09-26 15:11:46 -04:00
commit 7ad2522dbe
11 changed files with 232 additions and 66 deletions

View file

@ -128,10 +128,9 @@ class BuildJob(object):
return False
full_command = '["/bin/sh", "-c", "%s"]' % cache_commands[step]
logger.debug('Checking step #%s: %s, %s == %s', step, image.id,
image.storage.command, full_command)
logger.debug('Checking step #%s: %s, %s == %s', step, image.id, image.command, full_command)
return image.storage.command == full_command
return image.command == full_command
path = tree.find_longest_path(base_image.id, checker)
if not path: