[pve-devel] [PATCH pve-storage 2/2] PVE::Storage::volume_snapshot_list - remove comment about ordering
Dietmar Maurer
dietmar at proxmox.com
Wed Jun 7 06:43:12 CEST 2017
Some storage types supports arbitrary snapshot trees, so there is
no strict ordering relation.
Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
PVE/Storage.pm | 1 -
PVE/Storage/Plugin.pm | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 0b40416..b936306 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -277,7 +277,6 @@ sub volume_snapshot_list {
die "unable to parse volume ID '$volid'\n";
}
# return an empty array if dataset does not exist.
- # youngest snap first
}
sub get_image_dir {
diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 6d94b64..cc4c7e7 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -830,7 +830,7 @@ sub volume_snapshot_list {
# implement in subclass
die "Volume_snapshot_list is not implemented for $class";
- # retrun an empty array if dataset does not exist.
+ # return an empty array if dataset does not exist.
}
sub activate_storage {
--
2.11.0
More information about the pve-devel
mailing list