Skip to content

Commit e25d2d4

Browse files
authored
Merge pull request #590 from grycap/devel
Add volume type
2 parents 7eab15c + 543c5d8 commit e25d2d4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ def showvminfo():
343343
'%s</span><br/>' % cont)
344344

345345
prop_map = {"size": "Size", "image.url": "URL", "device": "Device", "mount_path": "Mount Path",
346-
"fstype": "F.S. type", "os.flavour": "O.S. Flavor", "os.version": "O.S. Version"}
346+
"fstype": "F.S. type", "os.flavour": "O.S. Flavor", "os.version": "O.S. Version",
347+
"type": "Volume Type"}
347348
for name, label in prop_map.items():
348349
prop = "disk.%s.%s" % (cont, name)
349350
if prop in vminfo:

0 commit comments

Comments
 (0)