mirror of https://github.com/portainer/portainer
fix(kubernetes): placement rules calculations [EE-6552] (#11013)
parent
1561814fe5
commit
46b2175729
|
@ -234,7 +234,7 @@ function computeAffinities(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
_.remove(unmatchedTerms, (i) => i?.length === 0);
|
_.remove(unmatchedTerms, (i) => !i);
|
||||||
if (unmatchedTerms.length) {
|
if (unmatchedTerms.length) {
|
||||||
acceptsApplication = false;
|
acceptsApplication = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue