]> git.proxmox.com Git - proxmox.git/commit
notify: pbs-context: exclude successful prunes in default matcher
authorLukas Wagner <l.wagner@proxmox.com>
Tue, 23 Apr 2024 11:51:49 +0000 (13:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 21:06:56 +0000 (23:06 +0200)
commitb2000d1f75483749b8404d016322a13ee6f51cb0
tree5afad61f13156d19a3544500478e011a307d56fa
parent7035d57312031bdfbb4ff339e7d3cf6e2a8ef5d6
notify: pbs-context: exclude successful prunes in default matcher

PBS sends notifications for all events but successful prune jobs.
There we only care about errors.

This commit adapts the 'default-matcher' to reflect that behavior
as well.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
proxmox-notify/src/context/pbs.rs