Call is_outdated() on volume object, not name

Note that this is still a no-op, because admin.vm.volume.Info does not
transmit is_outdated, so the qubesadmin wrapper defaults it to False.
This commit is contained in:
Rusty Bird 2018-03-14 00:07:21 +00:00
parent 819f2f45d4
commit 774b3bb2c9
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -377,7 +377,7 @@ class VmUpdateInfoWidget(QtGui.QWidget):
outdated_state = False
try:
for vol in vm.volumes:
for vol in vm.volumes.values():
if vol.is_outdated():
outdated_state = "outdated"
break