Commit 27238f47 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Reset the image list before filling it again

parent 9235c44a
Pipeline #4586 passed with stages
in 3 minutes and 2 seconds
......@@ -134,6 +134,7 @@ class DockerStateSynchronizer(threading.Thread):
node_stats.cores_in_use = sum([self._get_core_usage(stat) for stat in stats.values()])
if get_conf().backend_image_management:
node_stats.image_list = []
for dk_image in my_engine.list_images():
image = {
'id': dk_image.attrs['Id'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment