Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos-go-sdk support grpc tls #746

Merged
merged 5 commits into from
Apr 25, 2024

Conversation

shiyiyue1102
Copy link
Contributor

No description provided.

@shiyiyue1102 shiyiyue1102 changed the title nacossupportgrpctls nacos-go-sdk support grpc tls Apr 17, 2024
logger.Infof(" tls config from env is not enable")
return
}
trustAll, err := strconv.ParseBool(os.Getenv("nacos_remote_client_rpc_tls_trustAll"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

所有TLS相关的信息应该在用户创建client时就设置好,不应该再从环境变量中获取吧

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果用户没有通过代码指定,可以通过环境变量设置,和java版本保持一致

Copy link
Member

@binbin0325 binbin0325 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@binbin0325 binbin0325 merged commit 690bd7b into nacos-group:master Apr 25, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants