mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
Merge pull request #1162 from balena-io/no-cross-app-deltas
Don't allow cross-app delta requests
This commit is contained in:
commit
422aa5ef21
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user