Skip to content

Commit cf8676c

Browse files
fix(cves): match Copa single-error format in acceptable errors check
1 parent 303b6c0 commit cf8676c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CVEs/patch_images_with_copacetic.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ function patch_image() {
210210
[ "${copa_error}" == "no patchable packages found" ] ||
211211
[ "${copa_error}" == "no scanning results for os-pkgs found" ] ||
212212
[[ "${copa_error}" =~ "error occurred:" ]] ||
213+
[[ "${copa_error}" =~ "errors occurred:" ]] ||
213214
[[ "${copa_error}" =~ "unsupported osType" ]]
214215
)
215216
then

0 commit comments

Comments
 (0)