mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 15:32:24 +00:00
8174ea9643
getImagesForCleanup used to query the Engine for the Supervisor image, which is unnecessary given that the Supervisor has access to constants.supervisorImage. Thus, this Engine query is removed. The method is simplified and made more clear, and imageManager.isCleanupNeeded doesn't need to be stubbed in tests. Change-type: patch Signed-off-by: Christina Ying Wang <christina@balena.io> |
||
---|---|---|
.. | ||
compose | ||
config | ||
device-api | ||
device-state | ||
lib | ||
.mocharc.js | ||
config.spec.ts | ||
db.spec.ts | ||
device-config.spec.ts | ||
device-state.spec.ts | ||
network.spec.ts | ||
supervisor.spec.ts |