]> git.proxmox.com Git - pve-guest-common.git/commit - src/PVE/Replication.pm
replication: refactor finding most recent common replication snapshot
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 19 Oct 2021 07:54:53 +0000 (09:54 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 8 Nov 2021 09:35:34 +0000 (10:35 +0100)
commit84fc20aa377ada89a843cc6292c550d6c6bb5576
treed16ef479c4c0b6a5aae4cffaba6bd80bb0f62092
parent602ca77cdb216e0ec5ba268b2ad42b0eee6f7f66
replication: refactor finding most recent common replication snapshot

By using a single loop instead. Should make the code more readable,
but also more efficient.

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/PVE/Replication.pm