use versiond group clients from client-go

This commit is contained in:
supereagle
2017-07-28 15:54:13 +08:00
parent 9feabbdaeb
commit b694d51842
37 changed files with 163 additions and 163 deletions

View File

@@ -112,7 +112,7 @@ func (dc *DeploymentController) syncRolloutStatus(allRSs []*extensions.ReplicaSe
newDeployment := d
newDeployment.Status = newStatus
_, err := dc.client.Extensions().Deployments(newDeployment.Namespace).UpdateStatus(newDeployment)
_, err := dc.client.ExtensionsV1beta1().Deployments(newDeployment.Namespace).UpdateStatus(newDeployment)
return err
}