mirror of
https://github.com/rancher/norman.git
synced 2025-09-17 15:49:53 +00:00
Change RequestHandler signature
This commit is contained in:
@@ -25,7 +25,7 @@ type Subscribe struct {
|
||||
ProjectID string `norman:"type=reference[project]"`
|
||||
}
|
||||
|
||||
func Handler(apiContext *types.APIContext) error {
|
||||
func Handler(apiContext *types.APIContext, _ types.RequestHandler) error {
|
||||
err := handler(apiContext)
|
||||
if err != nil {
|
||||
logrus.Errorf("Error during subscribe %v", err)
|
||||
|
Reference in New Issue
Block a user