Unverified Commit 0ac65cdb authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #62406 from keitwb/patch-1

Fixing Update Function in FakeCustomStore
parents e6413d20 85ec3ed2
...@@ -40,7 +40,7 @@ func (f *FakeCustomStore) Add(obj interface{}) error { ...@@ -40,7 +40,7 @@ func (f *FakeCustomStore) Add(obj interface{}) error {
// Update calls the custom Update function if defined // Update calls the custom Update function if defined
func (f *FakeCustomStore) Update(obj interface{}) error { func (f *FakeCustomStore) Update(obj interface{}) error {
if f.UpdateFunc != nil { if f.UpdateFunc != nil {
return f.Update(obj) return f.UpdateFunc(obj)
} }
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment