[fix-#5845] remove the unused codes (#6096)
This commit is contained in:
parent
fb3e5ad290
commit
b97644109d
@ -60,14 +60,7 @@ public class InitUtils {
|
|||||||
if (Boolean.parseBoolean(isUseCloudNamespaceParsing)) {
|
if (Boolean.parseBoolean(isUseCloudNamespaceParsing)) {
|
||||||
|
|
||||||
tmpNamespace = TenantUtil.getUserTenantForAns();
|
tmpNamespace = TenantUtil.getUserTenantForAns();
|
||||||
tmpNamespace = TemplateUtils.stringEmptyAndThenExecute(tmpNamespace, new Callable<String>() {
|
LogUtils.NAMING_LOGGER.info("initializer namespace from System Property : {}", tmpNamespace);
|
||||||
@Override
|
|
||||||
public String call() {
|
|
||||||
String namespace = System.getProperty(SystemPropertyKeyConst.ANS_NAMESPACE);
|
|
||||||
LogUtils.NAMING_LOGGER.info("initializer namespace from System Property :" + namespace);
|
|
||||||
return namespace;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
tmpNamespace = TemplateUtils.stringEmptyAndThenExecute(tmpNamespace, new Callable<String>() {
|
tmpNamespace = TemplateUtils.stringEmptyAndThenExecute(tmpNamespace, new Callable<String>() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user