commit
95c3458fed
@ -289,7 +289,10 @@ public class ApiCommands {
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user