Remove unused code in pkg/api/,pkg/apis/

This commit is contained in:
linweibin
2017-12-06 15:15:35 +08:00
parent 64ed037e68
commit 96a8ff6bd6
6 changed files with 0 additions and 51 deletions

View File

@@ -1232,11 +1232,6 @@ func TestValidateDeployment(t *testing.T) {
}
}
func int64p(i int) *int64 {
i64 := int64(i)
return &i64
}
func TestValidateDeploymentStatus(t *testing.T) {
collisionCount := int32(-3)
tests := []struct {
@@ -1473,8 +1468,6 @@ func TestValidateDeploymentRollback(t *testing.T) {
}
}
type ingressRules map[string]string
func TestValidateIngress(t *testing.T) {
defaultBackend := extensions.IngressBackend{
ServiceName: "default-backend",