Commit 902a9b7f authored by Daniele Venzano's avatar Daniele Venzano

Update stats for latest Docker version (will break with older versions)

parent 4f575398
......@@ -104,6 +104,8 @@ class SwarmClient:
ns.error = info["DriverStatus"][idx + node + idx2][1]
idx2 += 1
ns.last_update = info["DriverStatus"][idx + node + idx2][1]
idx2 += 1
ns.server_version = info["DriverStatus"][idx + node + idx2][1]
ns.memory_reserved = humanfriendly.parse_size(ns.memory_reserved)
ns.memory_total = humanfriendly.parse_size(ns.memory_total)
......
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