Merge pull request #16330 from mikedanese/deploy-ptr

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-02 20:41:34 -08:00
18 changed files with 7411 additions and 7470 deletions

View File

@@ -151,7 +151,7 @@ func (d *DeploymentController) getNewRC(deployment extensions.Deployment) (*api.
Spec: api.ReplicationControllerSpec{
Replicas: 0,
Selector: newRCSelector,
Template: newRCTemplate,
Template: &newRCTemplate,
},
}
createdRC, err := d.client.ReplicationControllers(namespace).Create(&newRC)