Fix reference error when failing to delete containers.

This commit is contained in:
Pagan Gazzard 2014-10-15 19:08:50 +01:00 committed by Pablo Carranza Vélez
parent c4f9fd853d
commit 0240f74f47

View File

@ -330,7 +330,7 @@ cleanupContainersAndImages = ->
.then ->
console.log('Deleted container:', containerInfo.Id, containerInfo.Image)
.catch (err) ->
console.log('Error deleting container:', containerInfo.Id, image.Image, err)
console.log('Error deleting container:', containerInfo.Id, containerInfo.Image, err)
.then ->
# And then clean up the images.
docker.listImagesAsync()