From 56c92d90b58d18a67f71e8d03c641eb9cb62cc83 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 23 Aug 2023 09:08:25 +0300 Subject: [PATCH] fix show snapshot exist indicator --- static/icon_cache/camera_None_None_None.svg | 11 +++++++++++ static/icon_cache/download_None_None_None.svg | 11 +++++++++++ vrtManager/instance.py | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 static/icon_cache/camera_None_None_None.svg create mode 100644 static/icon_cache/download_None_None_None.svg diff --git a/static/icon_cache/camera_None_None_None.svg b/static/icon_cache/camera_None_None_None.svg new file mode 100644 index 0000000..47d4ed0 --- /dev/null +++ b/static/icon_cache/camera_None_None_None.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/static/icon_cache/download_None_None_None.svg b/static/icon_cache/download_None_None_None.svg new file mode 100644 index 0000000..5d28ba6 --- /dev/null +++ b/static/icon_cache/download_None_None_None.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/vrtManager/instance.py b/vrtManager/instance.py index cff2085..9cbe83e 100644 --- a/vrtManager/instance.py +++ b/vrtManager/instance.py @@ -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: