Refactor internal API for Pods to match v1beta3

If you're calling Derek's method you should not need this line (double check of course).


> On Nov 17, 2014, at 4:31 PM, Mark Turansky <notifications@github.com> wrote:
> 
> In pkg/registry/pod/rest.go:
> 
> > @@ -92,11 +92,11 @@ func (rs *REST) Create(ctx api.Context, obj runtime.Object) (<-chan apiserver.RE
> >  	if !api.ValidNamespace(ctx, &pod.ObjectMeta) {
> >  		return nil, errors.NewConflict("pod", pod.Namespace, fmt.Errorf("Pod.Namespace does not match the provided context"))
> >  	}
> > -	pod.DesiredState.Manifest.UUID = util.NewUUID().String()
> > +	pod.UID = util.NewUUID().String()
> @smarterclayton remove that line entirely (line 95 in the above snippet...)?
> 
> I currently changed it to the method Brian gave.
> 
> —
> Reply to this email directly or view it on GitHub.
>