We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a394b4e + 5bcc4ae commit 53e20dfCopy full SHA for 53e20df
src/scanner/index.ts
@@ -138,7 +138,7 @@ async function scanImagesAndSendResults(
138
workload,
139
workload.imageName,
140
);
141
- if (workloadState === undefined || imageState === undefined) {
+ if (workloadState === undefined && imageState === undefined) {
142
logger.info(
143
{ workloadName },
144
'the workload has been deleted while scanning was in progress, skipping sending scan results',
0 commit comments