Commit 6e43ee92 authored by zhengjiajin's avatar zhengjiajin

servicecontroller: trivial fix error message naming

parent 810efa66
...@@ -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