[pve-devel] [PATCH manager 1/2] change to ReplicaState

Dominik Csapak d.csapak at proxmox.com
Mon Jun 12 15:01:13 CEST 2017


this function moved, so the call to it has to move too

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Replication.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Replication.pm b/PVE/API2/Replication.pm
index 77cf70a0..c4a37e4b 100644
--- a/PVE/API2/Replication.pm
+++ b/PVE/API2/Replication.pm
@@ -289,7 +289,7 @@ __PACKAGE__->register_method({
 	my $authuser = $rpcenv->get_user();
 
 	my $jobid = $param->{id};
-	my $filename = PVE::Replication::job_logfile_name($jobid);
+	my $filename = PVE::ReplicationState::job_logfile_name($jobid);
 
 	my $cfg = PVE::ReplicationConfig->new();
 	my $data = $cfg->{ids}->{$jobid};
-- 
2.11.0





More information about the pve-devel mailing list