]> git.proxmox.com Git - pve-manager.git/commit
PVE::Replication::replicate - call get_ssh_info on demand
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 31 May 2017 13:19:26 +0000 (15:19 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 31 May 2017 13:19:26 +0000 (15:19 +0200)
commitd793b4a62b9c9ce28d4df9d895cf9a84a7873c53
tree4fb5fa3d32256cc94595e85043cf72ea9d3237b3
parent6452af0da179de5857ac3b2fdea5caff8d30b135
PVE::Replication::replicate - call get_ssh_info on demand

Only call get_ssh_info() when needed, and do not pass $migration_network
for a simply remove_job - this produces just overhead and is not required.
If we always call get_ssh_info() we can never delete jobs using non-existing
targets.
PVE/Replication.pm