From 299e0e2e5468b5b7b0c8325ea55da3822d44b163 Mon Sep 17 00:00:00 2001 From: Yuki Iwai Date: Sun, 7 Aug 2022 11:26:52 +0900 Subject: [PATCH] [chore] fix typo (#1648) --- pkg/apis/kubeflow.org/v1/tensorflow_types.go | 2 +- pkg/controller.v1/register_controller_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/kubeflow.org/v1/tensorflow_types.go b/pkg/apis/kubeflow.org/v1/tensorflow_types.go index 24cb31009c..8f57d02c47 100644 --- a/pkg/apis/kubeflow.org/v1/tensorflow_types.go +++ b/pkg/apis/kubeflow.org/v1/tensorflow_types.go @@ -32,7 +32,7 @@ const ( // TFJobKind is the kind name. TFJobKind = "TFJob" // TFJobPlural is the TensorflowPlural for TFJob. - TFJObPlural = "tfjobs" + TFJobPlural = "tfjobs" // TFJobSingular is the singular for TFJob. TFJobSingular = "tfjob" // TFJobFrameworkName is the name of the ML Framework diff --git a/pkg/controller.v1/register_controller_test.go b/pkg/controller.v1/register_controller_test.go index 7f9c22a9b9..91b698e006 100644 --- a/pkg/controller.v1/register_controller_test.go +++ b/pkg/controller.v1/register_controller_test.go @@ -61,7 +61,7 @@ func TestEnabledSchemes(t *testing.T) { dummyJob := "dummyjob" if testES.Set(dummyJob) == nil { - t.Errorf("successfully registerd non-supported job %s", dummyJob) + t.Errorf("successfully registered non-supported job %s", dummyJob) } if testES.Empty() {