mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-11-06 05:17:08 +00:00
Two in-tree places looked for entries with a literal string lookup. This compared a QualifiedName from a current slice against a QualifiedName from an allocation result, which is based on some older slice. The literal lookup breaks if the slices changed from fully-qualified to un-qualified or vice versa. The correct approach is to do what lookupAttribute for constraints does: check both forms. Following the example set by lookupAttribute, fully-qualified is given precedence in case of a conflict.