From 3913edaa16225205a523563ce9eca6c4de9178a3 Mon Sep 17 00:00:00 2001 From: ahao <92586826+ahaostudy@users.noreply.github.com> Date: Thu, 27 Jun 2024 17:05:22 +0800 Subject: [PATCH] fix: incorrect environment variable name (#26) --- nacos/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nacos/env.go b/nacos/env.go index 4afe32e..6d6e502 100644 --- a/nacos/env.go +++ b/nacos/env.go @@ -53,5 +53,5 @@ func NacosAddr() string { // NacosNameSpaceId Get Nacos namespace id from environment variables func NacosNameSpaceId() string { - return os.Getenv(NacosDefaultConfigGroup) + return os.Getenv(NacosAliNamespaceEnv) }