Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nkorange committed Jan 21, 2019
1 parent a639109 commit 3f6c56f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@ public JSONObject clientBeat(HttpServletRequest request) throws Exception {
if (StringUtils.isBlank(clientBeat.getCluster())) {
clientBeat.setCluster(UtilsAndCommons.DEFAULT_CLUSTER_NAME);
}
String dom = WebUtils.required(request, "serviceName");
String dom = WebUtils.optional(request, "serviceName", StringUtils.EMPTY);
if (StringUtils.isBlank(dom)) {
dom = WebUtils.required(request, "dom");
}
String app;
app = WebUtils.optional(request, "app", StringUtils.EMPTY);
String clusterName = clientBeat.getCluster();
Expand Down

0 comments on commit 3f6c56f

Please sign in to comment.