plugin: remove volume_snapshot_list

which was only used by replication, but now replication uses
volume_snapshot_info instead.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner
2021-10-19 09:54:51 +02:00
committed by Fabian Grünbichler
parent 8c20d8afa3
commit dc992e7b89
4 changed files with 0 additions and 40 deletions

View File

@ -532,15 +532,6 @@ sub volume_snapshot_info {
return $info;
}
sub volume_snapshot_list {
my ($class, $scfg, $storeid, $volname) = @_;
my $snaps = [];
# return an empty array if dataset does not exist.
eval { $snaps = $class->zfs_get_sorted_snapshot_list($scfg, $volname, ['-S', 'name']); };
return $snaps;
}
my sub dataset_mounted_heuristic {
my ($dataset) = @_;