Commit a2e5859a authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Add volume name to stats

parent c70a6e8a
......@@ -67,6 +67,9 @@ def scan_volumes(volumes):
if 'type' in volume:
for s in stats:
s['type'] = volume['type']
if 'name' in volume:
for s in stats:
s['volume'] = volume['name']
volume_stats.append(stats)
# If a type of data was specified, then we add this tag to the stats
else:
......
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