]> git.proxmox.com Git - pve-guest-common.git/commit
replication: avoid "expected snapshot missing" warning when irrelevant
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 23 Sep 2022 08:16:47 +0000 (10:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Sep 2022 09:23:17 +0000 (11:23 +0200)
commit18b6c8d1fe7e4edb5a927b0106b13951e4533805
tree15e7d509ed4a7eb8e62bbf7e6c3575ffd97e1404
parentc0b29481e40c0595ef343ee7a0b7581ecb597a07
replication: avoid "expected snapshot missing" warning when irrelevant

Only print it when there is a snapshot that would've been removed
without the safeguard. Mostly relevant when a new volume is added to
an already replicated guest.

Fixes replication tests in pve-manager.

Fixes: c0b2948 ("replication: prepare: safeguard against removal if expected snapshot is missing")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/Replication.pm