Commit c75170ad authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #46848 from zjj2wry/err_message

Automatic merge from submit-queue Fix some err message **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents f1773894 6bc2d425
...@@ -409,7 +409,7 @@ func (s *ServiceController) reconcileService(key string) reconciliationStatus { ...@@ -409,7 +409,7 @@ func (s *ServiceController) reconcileService(key string) reconciliationStatus {
namespace, name, err := cache.SplitMetaNamespaceKey(key) namespace, name, err := cache.SplitMetaNamespaceKey(key)
if err != nil { if err != nil {
runtime.HandleError(fmt.Errorf("Invalid key %q recieved, unable to split key to namespace and name, err: %v", key, err)) runtime.HandleError(fmt.Errorf("Invalid key %q received, unable to split key to namespace and name, err: %v", key, err))
return statusNonRecoverableError return statusNonRecoverableError
} }
...@@ -432,7 +432,7 @@ func (s *ServiceController) reconcileService(key string) reconciliationStatus { ...@@ -432,7 +432,7 @@ func (s *ServiceController) reconcileService(key string) reconciliationStatus {
} }
fedService, ok := fedServiceObj.(*v1.Service) fedService, ok := fedServiceObj.(*v1.Service)
if err != nil || !ok { if err != nil || !ok {
runtime.HandleError(fmt.Errorf("Unknown obj recieved from store: %#v, %v", fedServiceObj, err)) runtime.HandleError(fmt.Errorf("Unknown obj received from store: %#v, %v", fedServiceObj, err))
return statusNonRecoverableError return statusNonRecoverableError
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment