Skip to content

Commit ba345a9

Browse files
authored
Merge pull request #9 from nnemirovsky/fix/lint-unused-param
fix(lint): rename unused store parameter after ChannelGateMiddleware removal
2 parents 4b27075 + 7e4ef60 commit ba345a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/sluice/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,9 @@ func isTartCLIAvailable() bool {
848848
}
849849

850850
// startAPIServer starts the HTTP server with the generated chi router.
851-
// It serves /healthz (no auth), /api/* (bearer auth + channel gate), and
852-
// optionally /mcp (MCP Streamable HTTP, no auth) when mcpHandler is non-nil.
853-
func startAPIServer(addr string, apiSrv *api.Server, st *store.Store, mcpHandler http.Handler) (net.Listener, *http.Server) {
851+
// It serves /healthz (no auth), /api/* (bearer auth), and optionally
852+
// /mcp (MCP Streamable HTTP, no auth) when mcpHandler is non-nil.
853+
func startAPIServer(addr string, apiSrv *api.Server, _ *store.Store, mcpHandler http.Handler) (net.Listener, *http.Server) {
854854
if addr == "" {
855855
return nil, nil
856856
}

0 commit comments

Comments
 (0)