Commit 31bf3160 authored by WanLinghao's avatar WanLinghao

remove unused function in

pkg/controller/replicaset/replica_set_test.go
parent f611b322
...@@ -202,10 +202,6 @@ func validateSyncReplicaSet(t *testing.T, fakePodControl *controller.FakePodCont ...@@ -202,10 +202,6 @@ func validateSyncReplicaSet(t *testing.T, fakePodControl *controller.FakePodCont
} }
} }
func replicaSetResourceName() string {
return "replicasets"
}
func TestSyncReplicaSetDoesNothing(t *testing.T) { func TestSyncReplicaSetDoesNothing(t *testing.T) {
client := clientset.NewForConfigOrDie(&restclient.Config{Host: "", ContentConfig: restclient.ContentConfig{GroupVersion: &legacyscheme.Registry.GroupOrDie(v1.GroupName).GroupVersion}}) client := clientset.NewForConfigOrDie(&restclient.Config{Host: "", ContentConfig: restclient.ContentConfig{GroupVersion: &legacyscheme.Registry.GroupOrDie(v1.GroupName).GroupVersion}})
fakePodControl := controller.FakePodControl{} fakePodControl := controller.FakePodControl{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment