Skip to content

Commit

Permalink
Fix elasticsearch connecting over wrong scheme.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Sep 28, 2023
1 parent 0ed75ab commit 634d05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-umbrella/utils/elasticsearch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function _M.query(path, options)
end

local connect_ok, connect_err = httpc:connect({
scheme = "http",
scheme = server["scheme"],
host = server["host"],
port = server["port"],
})
Expand Down

0 comments on commit 634d05d

Please sign in to comment.