Cleanup: replace some hardcoded codes and remove unused functions

This commit is contained in:
NickrenREN
2017-04-24 15:08:39 +08:00
parent 35159f9c45
commit d4376599ba
22 changed files with 37 additions and 114 deletions

View File

@@ -78,7 +78,7 @@ var _ = framework.KubeDescribe("ReplicaSet", func() {
f := framework.NewDefaultFramework("replicaset")
It("should serve a basic image on each replica with a public image [Conformance]", func() {
testReplicaSetServeImageOrFail(f, "basic", "gcr.io/google_containers/serve_hostname:v1.4")
testReplicaSetServeImageOrFail(f, "basic", framework.ServeHostnameImage)
})
It("should serve a basic image on each replica with a private image", func() {