mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-14 02:58:47 +00:00
Remove unused code in pkg/api/,pkg/apis/
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user