Merge pull request #719 from ethan-daocloud/patch-1
cleanup: fix misspelled words in error message
This commit is contained in:
@@ -228,7 +228,7 @@ func (pc *PodController) updatePodStatus(ctx context.Context, pod *corev1.Pod) e
|
||||
status, err := pc.provider.GetPodStatus(ctx, pod.Namespace, pod.Name)
|
||||
if err != nil && !errdefs.IsNotFound(err) {
|
||||
span.SetStatus(err)
|
||||
return pkgerrors.Wrap(err, "error retreiving pod status")
|
||||
return pkgerrors.Wrap(err, "error retrieving pod status")
|
||||
}
|
||||
|
||||
// Update the pod's status
|
||||
@@ -292,7 +292,7 @@ func (pc *PodController) podStatusHandler(ctx context.Context, key string) (retE
|
||||
|
||||
namespace, name, err := cache.SplitMetaNamespaceKey(key)
|
||||
if err != nil {
|
||||
return pkgerrors.Wrap(err, "error spliting cache key")
|
||||
return pkgerrors.Wrap(err, "error splitting cache key")
|
||||
}
|
||||
|
||||
pod, err := pc.podsLister.Pods(namespace).Get(name)
|
||||
|
||||
Reference in New Issue
Block a user