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

Reset the image list before filling it again

parent 9235c44a
......@@ -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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment