mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 03:06:27 +00:00
The apps to update are the ones that aren't equal!
This commit is contained in:
parent
1b74e0cca5
commit
b4756db23b
@ -140,7 +140,7 @@ exports.update = ->
|
||||
console.log("Apps to be updated")
|
||||
toBeUpdated = _.intersection(remoteImages, localImages)
|
||||
toBeUpdated = _.filter toBeUpdated, (imageId) ->
|
||||
return _.isEqual(remoteApps[imageId], apps[imageId])
|
||||
return !_.isEqual(remoteApps[imageId], apps[imageId])
|
||||
console.log(toBeUpdated)
|
||||
|
||||
# Install the apps and add each to the db as they succeed
|
||||
|
Loading…
Reference in New Issue
Block a user