Skip to content

Commit

Permalink
fix client address get way.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwangjie committed May 19, 2022
1 parent 2399243 commit 46770c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Result<ThreadPoolAdapterState> getAdapterThreadPool(ThreadPoolAdapterPara
ThreadPoolAdapterState threadPoolState = each.getThreadPoolState(requestParameter.getThreadPoolKey());
String active = environment.getProperty("spring.profiles.active", "UNKNOWN");
threadPoolState.setActive(active.toUpperCase());
String clientAddress = CloudCommonIdUtil.getDefaultInstanceId(environment, hippo4JInetUtils);
String clientAddress = CloudCommonIdUtil.getClientIpPort(environment, hippo4JInetUtils);
threadPoolState.setClientAddress(clientAddress);
threadPoolState.setIdentify(IdentifyUtil.getIdentify());
return threadPoolState;
Expand Down

0 comments on commit 46770c8

Please sign in to comment.