mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #13457 from nikhiljindal/deleteLimitRangeNameField
Stop supporting name field in resourcequota field selector
This commit is contained in:
commit
0eee5c8b8c
@ -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