Skip to content

Commit

Permalink
fix verison fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
wyp12 committed Oct 8, 2018
1 parent 5f95bf3 commit dad2b1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ public JSONObject srvIPXT(HttpServletRequest request) throws Exception {

String dom = BaseServlet.required(request, "dom");
VirtualClusterDomain domObj = (VirtualClusterDomain) domainsManager.getDomain(dom);
String agent = BaseServlet.optional(request, "header:Client-Version", StringUtils.EMPTY);
String agent = request.getHeader("Client-Version");
String clusters = BaseServlet.optional(request, "clusters", StringUtils.EMPTY);
String clientIP = BaseServlet.optional(request, "clientIP", StringUtils.EMPTY);
Integer udpPort = Integer.parseInt(BaseServlet.optional(request, "udpPort", "0"));
Expand Down

0 comments on commit dad2b1d

Please sign in to comment.