mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-04 13:04:12 +00:00
parent
159aec0360
commit
1cde9dd16d
@ -24,7 +24,9 @@ applyDelta = (imgSrc, deltaUrl, applyTimeout, opts, onProgress) ->
|
|||||||
deltaStream = dockerDelta.applyDelta(imgSrc, timeout: applyTimeout)
|
deltaStream = dockerDelta.applyDelta(imgSrc, timeout: applyTimeout)
|
||||||
res.pipe(deltaStream)
|
res.pipe(deltaStream)
|
||||||
.on('id', (id) -> resolve('sha256:' + id))
|
.on('id', (id) -> resolve('sha256:' + id))
|
||||||
.on('error', req.abort.bind(req))
|
.on 'error', (err) ->
|
||||||
|
req.abort()
|
||||||
|
reject(err)
|
||||||
|
|
||||||
module.exports = class DockerUtils extends DockerToolbelt
|
module.exports = class DockerUtils extends DockerToolbelt
|
||||||
constructor: (opts) ->
|
constructor: (opts) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user