mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
fix show snapshot exist indicator
This commit is contained in:
parent
2935c9d382
commit
56c92d90b5
3 changed files with 23 additions and 1 deletions
|
|
@ -1368,7 +1368,7 @@ class wvmInstance(wvmConnect):
|
|||
name = name.replace("s1", "s2")
|
||||
self.create_external_snapshot(name, date, desc)
|
||||
|
||||
def get_snapshot(self, flag=VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL):
|
||||
def get_snapshot(self, flag=VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL|VIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL):
|
||||
snapshots = []
|
||||
snapshot_list = self.instance.snapshotListNames(flag)
|
||||
for snapshot in snapshot_list:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue