fix(kubernetes): placement rules calculations [EE-6552] (#11013)

pull/11031/head
Prabhat Khera 2024-01-29 08:00:15 +13:00 committed by GitHub
parent 1561814fe5
commit 46b2175729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ function computeAffinities(
}
);
_.remove(unmatchedTerms, (i) => i?.length === 0);
_.remove(unmatchedTerms, (i) => !i);
if (unmatchedTerms.length) {
acceptsApplication = false;
}