]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage.pm
volume_snapshot_list: remove $ip parameter
[pve-storage.git] / PVE / Storage.pm
index c06983dee43d87981a0751ff3378048a5cd8501d..14b8289fe34db303085d136efc66b386e27fcff3 100755 (executable)
@@ -264,13 +264,13 @@ sub volume_has_feature {
 }
 
 sub volume_snapshot_list {
-    my ($cfg, $volid, $prefix, $ip) = @_;
+    my ($cfg, $volid, $prefix) = @_;
 
     my ($storeid, $volname) = parse_volume_id($volid, 1);
     if ($storeid) {
        my $scfg = storage_config($cfg, $storeid);
        my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
-       return $plugin->volume_snapshot_list($scfg, $storeid, $volname, $prefix, $ip);
+       return $plugin->volume_snapshot_list($scfg, $storeid, $volname, $prefix);
     } elsif ($volid =~ m|^(/.+)$| && -e $volid) {
        die "send file/device '$volid' is not possible\n";
     } else {