Convert RestartPolicy to string for v1beta3.

Fixed #3607 and spiritually support #5475
This commit is contained in:
Dawn Chen
2015-03-13 18:38:07 -07:00
parent efcde725cc
commit 34e9c82c70
29 changed files with 184 additions and 258 deletions

View File

@@ -104,9 +104,7 @@ var _ = Describe("Secrets", func() {
},
},
},
RestartPolicy: api.RestartPolicy{
Never: &api.RestartPolicyNever{},
},
RestartPolicy: api.RestartPolicyNever,
},
}