etcdserver: fix typo in log message
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>release-3.4
parent
886d30d223
commit
1411c585be
|
@ -288,7 +288,7 @@ func NewServer(cfg ServerConfig) (srv *EtcdServer, err error) {
|
||||||
if cfg.MaxRequestBytes > recommendedMaxRequestBytes {
|
if cfg.MaxRequestBytes > recommendedMaxRequestBytes {
|
||||||
if cfg.Logger != nil {
|
if cfg.Logger != nil {
|
||||||
cfg.Logger.Warn(
|
cfg.Logger.Warn(
|
||||||
"exceeded recommended requet limit",
|
"exceeded recommended request limit",
|
||||||
zap.Uint("max-request-bytes", cfg.MaxRequestBytes),
|
zap.Uint("max-request-bytes", cfg.MaxRequestBytes),
|
||||||
zap.String("max-request-size", humanize.Bytes(uint64(cfg.MaxRequestBytes))),
|
zap.String("max-request-size", humanize.Bytes(uint64(cfg.MaxRequestBytes))),
|
||||||
zap.Int("recommended-request-bytes", recommendedMaxRequestBytes),
|
zap.Int("recommended-request-bytes", recommendedMaxRequestBytes),
|
||||||
|
|
Loading…
Reference in New Issue