mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 07:08:59 +00:00
Change RequestHandler signature
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/rancher/norman/types"
|
||||
)
|
||||
|
||||
func CreateHandler(apiContext *types.APIContext) error {
|
||||
func CreateHandler(apiContext *types.APIContext, next types.RequestHandler) error {
|
||||
var err error
|
||||
|
||||
data, err := ParseAndValidateBody(apiContext, true)
|
||||
|
Reference in New Issue
Block a user