Skip to content

Commit

Permalink
Docs: Minor fix for resource handler topics (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
marefr authored Sep 10, 2024
1 parent 5f8096f commit d320586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/shared/implement-resource-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func New() *MyPlugin {
}

func (p *MyPlugin) CallResource(ctx context.Context, req *backend.CallResourceRequest, sender backend.CallResourceResponseSender) error {
return p.resourceHandler.CallResource(ctx, req)
return p.resourceHandler.CallResource(ctx, req, sender)
}

func (p *MyPlugin) handleNamespaces(rw http.ResponseWriter, req *http.Request) {
Expand Down

0 comments on commit d320586

Please sign in to comment.