diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-01-28 10:33:04 +0100 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2020-01-28 10:33:04 +0100 |
commit | af43e1e19ef41fd77160c4618d9f8da54fe659e4 (patch) | |
tree | 7d9245a3e1fc1dfc1387ab77c328aa721e3125b8 /docs/archive.rst | |
parent | 7d1701f60de14aeb4eb430de292496ac6c6babb7 (diff) | |
download | sos-af43e1e19ef41fd77160c4618d9f8da54fe659e4.tar.gz |
[Plugin] Improve predicate failure message
Previously, the logged warning message when a predicate evaluation fails
would be a string that contained all elements passed to the predicate,
and include an empty list for checks that were not run by the predicate.
This meant that it was not immediately clear _which_ element(s) caused
the predicate evaluation to fail.
Now, during evaluation of the predicate checks, any failures are
recorded and the new failure message is generated based on these
failures. Thus, only the missing elements are presented to the user,
allowing for easier identification of what caused a particular
collection to be skipped.
Resolves: #1910
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'docs/archive.rst')
0 files changed, 0 insertions, 0 deletions