You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/09/27 10:39:36 UTC

[incubator-ponymail] branch master updated: Obsolete comment

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 17dcc51  Obsolete comment
17dcc51 is described below

commit 17dcc51dff82651806194fe5a555e63be73746ec
Author: Sebb <se...@apache.org>
AuthorDate: Mon Sep 27 11:39:24 2021 +0100

    Obsolete comment
---
 site/api/lib/elastic.lua | 2 --
 1 file changed, 2 deletions(-)

diff --git a/site/api/lib/elastic.lua b/site/api/lib/elastic.lua
index 4eacf5b..192cac6 100644
--- a/site/api/lib/elastic.lua
+++ b/site/api/lib/elastic.lua
@@ -62,8 +62,6 @@ local function performRequest(url, query, ok404)
     local result, hc = http.request(url, js)
     checkReturn(hc, ok404)
     local json = JSON.decode(result)
-    -- TODO should we return the http status code?
-    -- This might be necessary if codes such as 404 did not cause an error
     return json, hc
 end