Updated kube-proxy error strings to not use capitals/punctuation

This commit is contained in:
Vallery Lancey
2019-01-27 14:08:54 -08:00
parent d8369fd391
commit 3bb5914548
3 changed files with 4 additions and 4 deletions

View File

@@ -489,7 +489,7 @@ func (s *ProxyServer) Run() error {
encounteredError = iptables.CleanupLeftovers(s.IptInterface) || encounteredError
encounteredError = ipvs.CleanupLeftovers(s.IpvsInterface, s.IptInterface, s.IpsetInterface, s.CleanupIPVS) || encounteredError
if encounteredError {
return errors.New("encountered an error while tearing down rules.")
return errors.New("encountered an error while tearing down rules")
}
return nil
}