Active to uppercase

pull/233/head
chen.ma 2 years ago
parent 120ecaae63
commit 1bde901d29

@ -55,7 +55,7 @@ public class ThreadPoolAdapterController {
ThreadPoolAdapterState result = Optional.ofNullable(threadPoolAdapter).map(each -> {
ThreadPoolAdapterState threadPoolState = each.getThreadPoolState(requestParameter.getThreadPoolKey());
String active = environment.getProperty("spring.profiles.active", "UNKNOWN");
threadPoolState.setActive(active);
threadPoolState.setActive(active.toUpperCase());
String clientAddress = CloudCommonIdUtil.getDefaultInstanceId(environment, hippo4JInetUtils);
threadPoolState.setClientAddress(clientAddress);
threadPoolState.setIdentify(IdentifyUtil.getIdentify());

Loading…
Cancel
Save