mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 04:55:42 +00:00
Fix TypeError: Cannot read property 'Running' of undefined
This commit is contained in:
parent
848aa66494
commit
56f54331a5
@ -93,7 +93,7 @@ do ->
|
||||
containerHasExited = (id) ->
|
||||
docker.getContainer(id).inspectAsync()
|
||||
.then (data) ->
|
||||
return not data.Status.Running
|
||||
return not data.State.Running
|
||||
|
||||
# Return true if an image exists in the local docker repository, false otherwise.
|
||||
exports.imageExists = imageExists = (imageId) ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user