Stop using apps/v1beta1 in tests

This commit is contained in:
Jordan Liggitt
2019-01-29 09:57:12 -05:00
parent 46fc4dd96a
commit f100a762bc
10 changed files with 28 additions and 29 deletions

View File

@@ -432,7 +432,7 @@ type RealControllerRevisionControl struct {
var _ ControllerRevisionControlInterface = &RealControllerRevisionControl{}
func (r RealControllerRevisionControl) PatchControllerRevision(namespace, name string, data []byte) error {
_, err := r.KubeClient.AppsV1beta1().ControllerRevisions(namespace).Patch(name, types.StrategicMergePatchType, data)
_, err := r.KubeClient.AppsV1().ControllerRevisions(namespace).Patch(name, types.StrategicMergePatchType, data)
return err
}