[pve-devel] [PATCH 1/2] Permit set parent_snapname if it is not set.
Wolfgang Link
w.link at proxmox.com
Thu Jun 8 10:08:18 CEST 2017
---
PVE/Replication.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/Replication.pm b/PVE/Replication.pm
index 9aad67d8..ab55c9bf 100644
--- a/PVE/Replication.pm
+++ b/PVE/Replication.pm
@@ -135,7 +135,8 @@ sub remote_prepare_local_job {
push @$cmd, @$volumes if scalar(@$volumes);
push @$cmd, '--last_sync', $last_sync;
- push @$cmd, '--parent_snapname', $parent_snapname;
+ push @$cmd, '--parent_snapname', $parent_snapname
+ if $parent_snapname;
push @$cmd, '--force' if $force;
my $remote_snapshots;
--
2.11.0
More information about the pve-devel
mailing list