Don't allow cross-app delta requests

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2019-12-12 14:02:32 +00:00
parent 6270adf6e8
commit 4a74dffea9
No known key found for this signature in database
GPG Key ID: 49690ED87032539F

View File

@ -774,9 +774,6 @@ module.exports = class ApplicationManager extends EventEmitter
for availableImage in available
if availableImage.serviceName == image.serviceName and availableImage.appId == image.appId
return availableImage.name
for availableImage in available
if availableImage.serviceName == image.serviceName
return availableImage.name
for availableImage in available
if availableImage.appId == image.appId
return availableImage.name