mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 23:36:58 +00:00
Change RequestHandler signature
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/rancher/norman/types"
|
||||
)
|
||||
|
||||
func DeleteHandler(request *types.APIContext) error {
|
||||
func DeleteHandler(request *types.APIContext, next types.RequestHandler) error {
|
||||
store := request.Schema.Store
|
||||
if store == nil {
|
||||
request.WriteResponse(http.StatusNoContent, nil)
|
||||
|
Reference in New Issue
Block a user