From c10d3641b45c098c370f9d03cf74ea2f9e59ba76 Mon Sep 17 00:00:00 2001 From: Maelkum Date: Thu, 10 Oct 2024 19:37:31 +0200 Subject: [PATCH] Tidy up comments --- api/result.go | 2 -- node/execution_results.go | 1 - 2 files changed, 3 deletions(-) diff --git a/api/result.go b/api/result.go index bcf72f3f..9c741818 100644 --- a/api/result.go +++ b/api/result.go @@ -29,8 +29,6 @@ func (a *API) ExecutionResult(ctx echo.Context) error { return ctx.NoContent(http.StatusNotFound) } - // TODO: Output format fixed. - // Send the response back. return ctx.JSON(http.StatusOK, result) } diff --git a/node/execution_results.go b/node/execution_results.go index a7539c4a..f14e44e9 100644 --- a/node/execution_results.go +++ b/node/execution_results.go @@ -132,7 +132,6 @@ func (n *Node) gatherExecutionResults(ctx context.Context, requestID string, pee go func() { defer wg.Done() key := executionResultKey(requestID, rp) - // XXX: cache response.Execute res, ok := n.executeResponses.WaitFor(exctx, key) if !ok { return