Skip to content

Commit

Permalink
boring: simple rest storage update
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed Dec 5, 2017
1 parent 1f30e79 commit 6daf94b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/build/registry/build/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ func (r *DetailsREST) New() runtime.Object {
}

// Update finds a resource in the storage and updates it.
func (r *DetailsREST) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error) {
return r.store.Update(ctx, name, objInfo)
func (r *DetailsREST) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (runtime.Object, bool, error) {
return r.store.Update(ctx, name, objInfo, createValidation, updateValidation)
}

0 comments on commit 6daf94b

Please sign in to comment.