Skip to content

Commit

Permalink
实例详情返回值增加enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
harper-huang authored Jun 12, 2024
1 parent 9454c51 commit 5ee2da6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ public ObjectNode detail(HttpServletRequest request) throws Exception {
result.put("clusterName", cluster);
result.put("weight", instance.getWeight());
result.put("healthy", instance.isHealthy());
result.put("enabled", instance.isEnabled());
result.put("instanceId", instance.getInstanceId());
result.set(METADATA, JacksonUtils.transferToJsonNode(instance.getMetadata()));
return result;
Expand Down

0 comments on commit 5ee2da6

Please sign in to comment.