Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
pontential NPE in checkNodeLabelExpression of SchedulerUtils for nodeLabels.
since we check the nodeLabels null at
if (!str.trim().isEmpty() && (nodeLabels == null || !nodeLabels.contains(str.trim()))) { return false; }
We should also check nodeLabels null at
if (!nodeLabels.isEmpty()) { return false; }