mirror of https://github.com/k3s-io/k3s
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 ```pull/6/head
commit
c75170ad8e
|
@ -409,7 +409,7 @@ func (s *ServiceController) reconcileService(key string) reconciliationStatus {
|
|||
|
||||
namespace, name, err := cache.SplitMetaNamespaceKey(key)
|
||||
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
|
||||
}
|
||||
|
||||
|
@ -432,7 +432,7 @@ func (s *ServiceController) reconcileService(key string) reconciliationStatus {
|
|||
}
|
||||
fedService, ok := fedServiceObj.(*v1.Service)
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue