Skip to content

Commit

Permalink
Unified default namespace id for nacos-client.
Browse files Browse the repository at this point in the history
  • Loading branch information
KomachiSion committed Nov 22, 2024
1 parent bf9fbde commit eb67fc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public static String parseNamespace(NacosClientProperties properties) {
if (StringUtils.isBlank(namespaceTmp)) {
namespaceTmp = properties.getProperty(PropertyKeyConst.NAMESPACE);
}
return StringUtils.isNotBlank(namespaceTmp) ? namespaceTmp.trim() : StringUtils.EMPTY;
return StringUtils.isNotBlank(namespaceTmp) ? namespaceTmp.trim() : Constants.DEFAULT_NAMESPACE_ID;
}

/**
Expand Down

0 comments on commit eb67fc7

Please sign in to comment.