From ee9ef4455f0febf13c88c33ce9f0638e5aa4b58c Mon Sep 17 00:00:00 2001 From: Filipe Regadas Date: Thu, 18 Mar 2021 20:31:19 +0000 Subject: [PATCH] fix typo Signed-off-by: Filipe Regadas --- pkg/controller/nodes/task/k8s/plugin_manager_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/nodes/task/k8s/plugin_manager_test.go b/pkg/controller/nodes/task/k8s/plugin_manager_test.go index 504e28332..4f922dfa0 100644 --- a/pkg/controller/nodes/task/k8s/plugin_manager_test.go +++ b/pkg/controller/nodes/task/k8s/plugin_manager_test.go @@ -624,7 +624,7 @@ func TestPluginManager_AddObjectMetadata_InjectFinalizer(t *testing.T) { o := &v1.Pod{} cfg := config.GetK8sPluginConfig() - t.Run("Disable enbaled InjectFinalizer", func(t *testing.T) { + t.Run("Disable enabled InjectFinalizer", func(t *testing.T) { // enable finalizer injection cfg.InjectFinalizer = true pluginManager.AddObjectMetadata(tm, o, cfg) @@ -641,7 +641,7 @@ func TestPluginManager_AddObjectMetadata_InjectFinalizer(t *testing.T) { }) t.Run("Disable disabled InjectFinalizer", func(t *testing.T) { - // enable finalizer injection + // disable finalizer injection cfg.InjectFinalizer = false pluginManager.AddObjectMetadata(tm, o, cfg) assert.Equal(t, genName, o.GetName())