mirror of
https://github.com/rancher/norman.git
synced 2025-09-06 17:50:25 +00:00
Change RequestHandler signature
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/rancher/norman/types"
|
||||
)
|
||||
|
||||
func UpdateHandler(apiContext *types.APIContext) error {
|
||||
func UpdateHandler(apiContext *types.APIContext, next types.RequestHandler) error {
|
||||
data, err := ParseAndValidateBody(apiContext, false)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user