Removing ContainerManifest

This commit is contained in:
Kris Rousey
2015-06-15 12:04:30 -07:00
parent b964f3c911
commit d13421e084
15 changed files with 26 additions and 360 deletions

View File

@@ -316,11 +316,6 @@ func TestCreateReplica(t *testing.T) {
// Make sure createReplica sends a POST to the apiserver with a pod from the controllers pod template
podControl.createReplica(ns, controllerSpec)
manifest := api.ContainerManifest{}
if err := api.Scheme.Convert(&controllerSpec.Spec.Template.Spec, &manifest); err != nil {
t.Fatalf("unexpected error: %v", err)
}
expectedPod := api.Pod{
ObjectMeta: api.ObjectMeta{
Labels: controllerSpec.Spec.Template.Labels,