|
|
|
@ -122,7 +122,7 @@ func (f *FailingKubeWaiter) WatchUntilReady(resources kube.ResourceList, d time.
|
|
|
|
// Update returns the configured error if set or prints
|
|
|
|
// Update returns the configured error if set or prints
|
|
|
|
func (f *FailingKubeClient) Update(r, modified kube.ResourceList, options ...kube.ClientUpdateOption) (*kube.Result, error) {
|
|
|
|
func (f *FailingKubeClient) Update(r, modified kube.ResourceList, options ...kube.ClientUpdateOption) (*kube.Result, error) {
|
|
|
|
if f.UpdateError != nil {
|
|
|
|
if f.UpdateError != nil {
|
|
|
|
return &kube.Result{}, f.UpdateError
|
|
|
|
return nil, f.UpdateError
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return f.PrintingKubeClient.Update(r, modified, options...)
|
|
|
|
return f.PrintingKubeClient.Update(r, modified, options...)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|