Merge pull request #3009 from Shell32-Natsu/endpoint-service

put endpoints before service
This commit is contained in:
Kubernetes Prow Robot
2020-09-18 14:20:28 -07:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ var orderFirst = []string{
"ClusterRoleBinding",
"ConfigMap",
"Secret",
"Endpoints",
"Service",
"LimitRange",
"PriorityClass",

View File

@@ -78,6 +78,8 @@ var lessThanTests = []struct {
Gvk{Group: "a", Version: "b", Kind: "ValidatingWebhookConfiguration"}},
{Gvk{Group: "a", Version: "b", Kind: "Service"},
Gvk{Group: "a", Version: "b", Kind: "APIService"}},
{Gvk{Group: "a", Version: "b", Kind: "Endpoints"},
Gvk{Group: "a", Version: "b", Kind: "Service"}},
}
func TestIsLessThan1(t *testing.T) {