Skip to content

Commit

Permalink
Fix a typo in mpi controller log (#1495)
Browse files Browse the repository at this point in the history
Signed-off-by: lubingtan <[email protected]>
  • Loading branch information
LuBingtan authored Dec 1, 2021
1 parent 84a48dc commit d438089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller.v1/mpi/mpijob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func (r *MPIJobReconciler) GetJobFromAPIClient(namespace, name string) (metav1.O
err = clientReader.Get(context.Background(), types.NamespacedName{Namespace: namespace, Name: name}, job)
if err != nil {
if errors.IsNotFound(err) {
logrus.Error(err, "tensorflow job not found", "namespace", namespace, "name", name)
logrus.Error(err, "MPIJob not found", "namespace", namespace, "name", name)
} else {
logrus.Error(err, "failed to get job from api-server", "namespace", namespace, "name", name)
}
Expand Down

0 comments on commit d438089

Please sign in to comment.