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:
committed by
Fabian Grünbichler
parent
8c20d8afa3
commit
dc992e7b89
@ -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) = @_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user