1
0
Fork 0
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:
catborise 2023-08-23 09:08:25 +03:00
parent 2935c9d382
commit 56c92d90b5
3 changed files with 23 additions and 1 deletions

View file

@ -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: