Skip to content

Commit

Permalink
Update config/src/main/java/com/megaease/easeagent/config/ConfigFacto…
Browse files Browse the repository at this point in the history
…ry.java

Co-authored-by: observeralone <[email protected]>
  • Loading branch information
lanxenet and observeralone authored Sep 13, 2023
1 parent dd876f3 commit 6d5f7a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private ConfigFactory() {
public static GlobalConfigs loadConfigs(ClassLoader loader) {
Map<String, String> envCfg = updateEnvCfg();
String configFile = envCfg.get(AGENT_CONFIG_PATH);
if (Strings.isNullOrEmpty(configFile)) {
if (StringUtils.isEmpty(configFile)) {
envCfg = OtelSdkConfigs.updateEnvCfg();
configFile = envCfg.get(AGENT_CONFIG_PATH);
}
Expand Down

0 comments on commit 6d5f7a1

Please sign in to comment.