summaryrefslogtreecommitdiff
path: root/CODE-OF-CONDUCT.md
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-07-13 14:41:16 -0400
committerChris Evich <cevich@redhat.com>2022-07-14 14:42:59 -0400
commitd95e79ebe3c620b15834c972c281442cfeb31c5a (patch)
tree4d0b15c8901df7ac7394a2a971631b3263435520 /CODE-OF-CONDUCT.md
parent3637d55191be2e9a5b9e13f8f62db4c27d188741 (diff)
downloadpodman-d95e79ebe3c620b15834c972c281442cfeb31c5a.tar.gz
podman-d95e79ebe3c620b15834c972c281442cfeb31c5a.tar.bz2
podman-d95e79ebe3c620b15834c972c281442cfeb31c5a.zip
GHA: Fix dumb error check
Previously the reply JSON was examined for the literal presence of the string 'error'. This was intended to catch server or query errors and the like. However it's not a sound design as valid/legitimate contents could potentially contain the string. Fix this by using the `-e` option to `jq`, with a filter that should always result in a non-empty/null match. If this fails or returns null for some reason, then it's safe to throw a real error code & message. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'CODE-OF-CONDUCT.md')
0 files changed, 0 insertions, 0 deletions