backup: fix restore summary table
This commit is contained in:
parent
595dfdc0a9
commit
e5af64f2bf
@ -1990,8 +1990,8 @@ class BackupRestore(object):
|
|||||||
|
|
||||||
"updbl": {"func": "'Yes' if vm.updateable else ''"},
|
"updbl": {"func": "'Yes' if vm.updateable else ''"},
|
||||||
|
|
||||||
"template": {"func": "'n/a' if vm.is_template() or vm.template is None else\
|
"template": {"func": "'n/a' if not hasattr(vm, 'template') is None "
|
||||||
vm_info['template']"},
|
"else vm_info['template']"},
|
||||||
|
|
||||||
"netvm": {"func": "'n/a' if vm.is_netvm() and not vm.is_proxyvm() else\
|
"netvm": {"func": "'n/a' if vm.is_netvm() and not vm.is_proxyvm() else\
|
||||||
('*' if vm.property_is_default('netvm') else '') +\
|
('*' if vm.property_is_default('netvm') else '') +\
|
||||||
|
Loading…
Reference in New Issue
Block a user