Merge pull request #2681 from AdamDang/patch-4
Typo fix in error message: encounted->encountered
This commit is contained in:
commit
0dbc9a2973
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ func ReadConfig(src map[string]string) config.Configuration {
|
||||||
delete(conf, proxyHeaderTimeout)
|
delete(conf, proxyHeaderTimeout)
|
||||||
duration, err := time.ParseDuration(val)
|
duration, err := time.ParseDuration(val)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Warningf("proxy-protocol-header-timeout of %v encounted an error while being parsed %v. Switching to use default value instead.", val, err)
|
glog.Warningf("proxy-protocol-header-timeout of %v encountered an error while being parsed %v. Switching to use default value instead.", val, err)
|
||||||
} else {
|
} else {
|
||||||
to.ProxyProtocolHeaderTimeout = duration
|
to.ProxyProtocolHeaderTimeout = duration
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue