mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	remove v1.Semantics
This commit is contained in:
		| @@ -27,6 +27,7 @@ import ( | ||||
| 	"testing" | ||||
| 	"time" | ||||
|  | ||||
| 	"k8s.io/kubernetes/pkg/api" | ||||
| 	"k8s.io/kubernetes/pkg/api/testapi" | ||||
| 	"k8s.io/kubernetes/pkg/api/unversioned" | ||||
| 	"k8s.io/kubernetes/pkg/api/v1" | ||||
| @@ -273,7 +274,7 @@ func TestCreatePods(t *testing.T) { | ||||
| 	if err != nil { | ||||
| 		t.Fatalf("Unexpected error: %v", err) | ||||
| 	} | ||||
| 	if !v1.Semantic.DeepDerivative(&expectedPod, actualPod) { | ||||
| 	if !api.Semantic.DeepDerivative(&expectedPod, actualPod) { | ||||
| 		t.Logf("Body: %s", fakeHandler.RequestBody) | ||||
| 		t.Errorf("Unexpected mismatch.  Expected\n %#v,\n Got:\n %#v", &expectedPod, actualPod) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chao Xu
					Chao Xu