mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Stop supporting name field in resourcequota field selector
This commit is contained in:
parent
3d51f524b5
commit
d72d08e37e
1 changed files with 0 additions and 2 deletions
|
|
@ -109,7 +109,5 @@ func MatchResourceQuota(label labels.Selector, field fields.Selector) generic.Ma
|
|||
func ResourceQuotaToSelectableFields(resourcequota *api.ResourceQuota) labels.Set {
|
||||
return labels.Set{
|
||||
"metadata.name": resourcequota.Name,
|
||||
// Having "name" is a bug, but it must be supported for v1 API backward compatibility.
|
||||
"name": resourcequota.Name,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue