mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-10-28 21:48:24 +08: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.