QueryServlet: Send alerts with remote address as "peer" instead of "host"

"host" is used by the emitter. Both end up being emitted, which can be confusing.
This commit is contained in:
Gian Merlino 2013-03-01 06:59:23 -08:00
parent d1634fe5ef
commit 26dca5630f
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class QueryServlet extends HttpServlet
ImmutableMap.<String, Object>builder()
.put("exception", e.toString())
.put("query", queryString)
.put("host", req.getRemoteAddr())
.put("peer", req.getRemoteAddr())
.build()
)
);