move deployment PodTemplate to be not a pointer

This commit is contained in:
Mike Danese
2015-10-26 16:20:43 -07:00
parent d5e680afbb
commit b0a41108af
13 changed files with 38 additions and 35 deletions

View File

@@ -613,7 +613,7 @@ func validDeployment() *extensions.Deployment {
Selector: map[string]string{
"name": "abc",
},
Template: &api.PodTemplateSpec{
Template: api.PodTemplateSpec{
ObjectMeta: api.ObjectMeta{
Name: "abc",
Namespace: api.NamespaceDefault,