fix(notebook-controller): fix typo (kubeflow/kubeflow#7305)

namesace -> namespace in file components/notebook-controller/controllers/notebook_controller.go
This commit is contained in:
LiaoSirui 2023-10-26 09:46:10 -05:00 committed by GitHub
parent 01ccb69dd2
commit f9af6f9c18
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ func (r *NotebookReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
foundPod := &corev1.Pod{}
err = r.Get(ctx, types.NamespacedName{Name: ss.Name + "-0", Namespace: ss.Namespace}, foundPod)
if err != nil && apierrs.IsNotFound(err) {
log.Info(fmt.Sprintf("No Pods are currently running for Notebook Server: %s in namesace: %s.", instance.Name, instance.Namespace))
log.Info(fmt.Sprintf("No Pods are currently running for Notebook Server: %s in namespace: %s.", instance.Name, instance.Namespace))
} else if err != nil {
return ctrl.Result{}, err
}