We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77556a commit 9456857Copy full SHA for 9456857
1 file changed
agent/server.py
@@ -155,10 +155,9 @@ def unused_image_size(self) -> list[float]:
155
images_present = [image.split() for image in images_present]
156
images_in_use = self.execute("docker container ls --format {{.Image}}")["output"].split("\n")
157
158
- reclaimable_size = [
+ return [
159
to_bytes(size) for image_name, size in images_present if image_name not in images_in_use
160
]
161
- return reclaimable_size
162
163
def get_reclaimable_size(self) -> dict[str, dict[str, float] | float]:
164
"""Checks archived and unused docker artefacts size"""
0 commit comments