mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
embed: fix secure server logging message
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
14624b7d64
commit
ea0f08de20
@ -189,7 +189,7 @@ func (sctx *serveCtx) serve(
|
|||||||
sctx.serversC <- &servers{secure: true, grpc: gs, http: srv}
|
sctx.serversC <- &servers{secure: true, grpc: gs, http: srv}
|
||||||
if sctx.lg != nil {
|
if sctx.lg != nil {
|
||||||
sctx.lg.Info(
|
sctx.lg.Info(
|
||||||
"serving client traffic insecurely",
|
"serving client traffic securely",
|
||||||
zap.String("address", sctx.l.Addr().String()),
|
zap.String("address", sctx.l.Addr().String()),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user