]> git.proxmox.com Git - pmg-log-tracker.git/commit
fix #3758: fix `to` filter with empty NoqueueEntry `to` field
authorMira Limbeck <m.limbeck@proxmox.com>
Wed, 1 Dec 2021 15:41:57 +0000 (16:41 +0100)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 1 Dec 2021 17:57:15 +0000 (18:57 +0100)
commitcab179a92109432af3d436e15683ac630999afd6
tree3616c392e779c249789c85f09f95dd6c5513c754
parent40d978e67b849447fe798c365dbcd5dee003f2e4
fix #3758: fix `to` filter with empty NoqueueEntry `to` field

We only compared the filter `to` with the Noqueue `to` when both were
not empty, and in turn set the nq.dstatus to DStatus::Invalid when they
didn't match.
But in the case of an empty Noqueue `to`, we have to skip it as well if
the filter `to` is not empty.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
src/main.rs