mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Stop supporting name field in resourcequota field selector
This commit is contained in:
parent
3d51f524b5
commit
d72d08e37e
@ -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 New Issue
Block a user