mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 13:47:54 +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> |
||
---|---|---|
.. | ||
application-manager.spec.ts | ||
commit.spec.ts | ||
images.spec.ts | ||
network.spec.ts | ||
service.spec.ts | ||
volume-manager.spec.ts | ||
volume.spec.ts |