Fix check if we already have the image.

This commit is contained in:
Page 2014-06-06 15:47:46 +01:00 committed by Pablo Carranza Vélez
parent f47e7fbf2b
commit 7daebaf85e

View File

@ -34,7 +34,7 @@ exports.kill = kill = (app) ->
) )
exports.start = start = (app) -> exports.start = start = (app) ->
docker.getImage(app).inspectAsync() docker.getImage(app.imageId).inspectAsync()
.catch (error) -> .catch (error) ->
console.log("Pulling image:", app.imageId) console.log("Pulling image:", app.imageId)
deferred = Promise.defer() deferred = Promise.defer()