mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-18 17:00:25 +00:00
Fix check if we already have the image.
This commit is contained in:
parent
f47e7fbf2b
commit
7daebaf85e
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user