-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
config: grpc gateway #12297
config: grpc gateway #12297
Conversation
/cc @mitake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me. Thanks!
@@ -411,6 +412,7 @@ func NewConfig() *Config { | |||
Logger: "zap", | |||
LogOutputs: []string{DefaultLogOutput}, | |||
LogLevel: logutil.DefaultLogLevel, | |||
EnableGRPCGateway: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: need to gofmt here:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:) Yes, will fix it.
Thank you @jingyih !! |
Currently, the grpc gateway is enabled by default when run the etcd server using command line configuration. However, when provide config through config file, the grpc gateway is disabled by default. We should either use the same approach or at least document this. related #etcd-io#12093
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Currently, the grpc gateway is enabled by default when run the etcd server
using command line configuration. However, when provide config through
config file, the grpc gateway is disabled by default. We should either use
the same approach or at least document this.
related ##12093