]> git.proxmox.com Git - pve-manager.git/commitdiff
Remove $vmid form ssh prepare and finalize command.
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 7 Jun 2017 15:20:44 +0000 (17:20 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 7 Jun 2017 15:25:41 +0000 (17:25 +0200)
PVE/Replication.pm

index a4013fb41d57151ead4ec3c344da9537d32c7b80..2ad70df7b5dcacab7a9a50f1d7fe86a0b561d088 100644 (file)
@@ -116,7 +116,7 @@ sub remote_prepare_local_job {
     my ($ssh_info, $jobid, $vmid, $volumes, $last_sync, $force) = @_;
 
     my $ssh_cmd = PVE::Cluster::ssh_info_to_command($ssh_info);
-    my $cmd = [@$ssh_cmd, '--', 'pvesr', 'prepare-local-job', $jobid, $vmid];
+    my $cmd = [@$ssh_cmd, '--', 'pvesr', 'prepare-local-job', $jobid];
     push @$cmd, @$volumes if scalar(@$volumes);
 
     push @$cmd, '--last_sync', $last_sync;
@@ -142,7 +142,7 @@ sub remote_finalize_local_job {
 
     my $ssh_cmd = PVE::Cluster::ssh_info_to_command($ssh_info);
     my $cmd = [@$ssh_cmd, '--', 'pvesr', 'finalize-local-job', $jobid,
-              $vmid, @$volumes, '--last_sync', $last_sync];
+              @$volumes, '--last_sync', $last_sync];
 
     PVE::Tools::run_command($cmd);
 }