mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-25 13:28:34 +00:00
Fix reference error when failing to delete containers.
This commit is contained in:
parent
c4f9fd853d
commit
0240f74f47
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user