Conversions missing from v1beta1

They were in v1beta2, not sure how they got removed.
pull/6/head
Clayton Coleman 2014-12-12 17:16:18 -05:00
parent dadb8431c4
commit d9ad8cfac0
1 changed files with 12 additions and 0 deletions

View File

@ -196,6 +196,18 @@ func init() {
out.PodIP = in.PodIP
return nil
},
func(in *newer.PodSpec, out *PodState, s conversion.Scope) error {
if err := s.Convert(&in, &out.Manifest, 0); err != nil {
return err
}
return nil
},
func(in *PodState, out *newer.PodSpec, s conversion.Scope) error {
if err := s.Convert(&in.Manifest, &out, 0); err != nil {
return err
}
return nil
},
// Convert all to the new PodPhase constants
func(in *newer.PodPhase, out *PodStatus, s conversion.Scope) error {