Skip to content

Commit

Permalink
fix: incorrect environment variable name (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaostudy committed Jun 27, 2024
1 parent 7c63f1d commit 3913eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nacos/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 3913eda

Please sign in to comment.