refactor:optimize metadata context operation.

Signed-off-by: Haotian Zhang <928016560@qq.com>
pull/1773/head
Haotian Zhang 3 weeks ago
parent b8e24764bd
commit c17a4dd50a

@ -82,6 +82,9 @@ public class ApplicationContextAwareUtils implements ApplicationContextAware {
if (StringUtils.isBlank(property)) {
property = System.getenv(key);
}
if (StringUtils.isBlank(property)) {
property = defaultValue;
}
return property;
}

Loading…
Cancel
Save