Skip to content

Commit 5ed6d9f

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#61452 from hzxuzhonghu/minor-revision
Automatic merge from submit-queue (batch tested with PRs 61452, 61727, 61462, 61692, 61738). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove invalid resource replicationControllers in DefaultResourcePrefixes As all resources are lowercased, so remove invalid GroupResource `{Group: "", Resource: "replicationControllers"}`. **Release note**: ```release-note NONE ```
2 parents 90c09c7 + 5ac83d3 commit 5ed6d9f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/kubeapiserver/default_storage_factory_builder.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626

2727
// SpecialDefaultResourcePrefixes are prefixes compiled into Kubernetes.
2828
var SpecialDefaultResourcePrefixes = map[schema.GroupResource]string{
29-
{Group: "", Resource: "replicationControllers"}: "controllers",
3029
{Group: "", Resource: "replicationcontrollers"}: "controllers",
3130
{Group: "", Resource: "endpoints"}: "services/endpoints",
3231
{Group: "", Resource: "nodes"}: "minions",

0 commit comments

Comments
 (0)