From ed43d5c8296da5838bbc9254e2010e75d26f0e3f Mon Sep 17 00:00:00 2001 From: qq213539 <213539@qq.com> Date: Tue, 10 Dec 2019 21:39:24 +0800 Subject: [PATCH] =?UTF-8?q?#2145=20namespace=20id=20=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E5=85=81=E8=AE=B8=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alibaba/nacos/console/controller/NamespaceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/main/java/com/alibaba/nacos/console/controller/NamespaceController.java b/console/src/main/java/com/alibaba/nacos/console/controller/NamespaceController.java index 93ffd4eb4..b8a6efc3d 100644 --- a/console/src/main/java/com/alibaba/nacos/console/controller/NamespaceController.java +++ b/console/src/main/java/com/alibaba/nacos/console/controller/NamespaceController.java @@ -131,7 +131,7 @@ public class NamespaceController { @GetMapping(params = "checkNamespaceIdExist=true") public Boolean checkNamespaceIdExist(@RequestParam("customNamespaceId") String namespaceId){ if(StringUtils.isBlank(namespaceId)){ - return true; + return false; } return (persistService.countByTenantId(namespaceId) > 0); }