mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
typofix - https://github.com/vlajos/misspell_fixer
This commit is contained in:
@@ -479,7 +479,7 @@ func (s *APIServer) Run(_ []string) error {
|
||||
}
|
||||
// err == systemd.SdNotifyNoSocket when not running on a systemd system
|
||||
if err := systemd.SdNotify("READY=1\n"); err != nil && err != systemd.SdNotifyNoSocket {
|
||||
glog.Errorf("Unable to send systemd daemon sucessful start message: %v\n", err)
|
||||
glog.Errorf("Unable to send systemd daemon successful start message: %v\n", err)
|
||||
}
|
||||
if err := secureServer.ListenAndServeTLS(s.TLSCertFile, s.TLSPrivateKeyFile); err != nil {
|
||||
glog.Errorf("Unable to listen for secure (%v); will try again.", err)
|
||||
@@ -497,7 +497,7 @@ func (s *APIServer) Run(_ []string) error {
|
||||
if secureLocation == "" {
|
||||
// err == systemd.SdNotifyNoSocket when not running on a systemd system
|
||||
if err := systemd.SdNotify("READY=1\n"); err != nil && err != systemd.SdNotifyNoSocket {
|
||||
glog.Errorf("Unable to send systemd daemon sucessful start message: %v\n", err)
|
||||
glog.Errorf("Unable to send systemd daemon successful start message: %v\n", err)
|
||||
}
|
||||
}
|
||||
glog.Infof("Serving insecurely on %s", insecureLocation)
|
||||
|
||||
Reference in New Issue
Block a user