From 4d0005640d6597d93853a59379a6d8306483c3b3 Mon Sep 17 00:00:00 2001 From: yuvalman Date: Mon, 11 Apr 2022 16:43:16 +0300 Subject: [PATCH] fix: use the right kind in getRestartableProcess logger Signed-off-by: Yuval Manor --- pkg/plugin/clientmgmt/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/clientmgmt/manager.go b/pkg/plugin/clientmgmt/manager.go index b1a952ac5..9dc2ff327 100644 --- a/pkg/plugin/clientmgmt/manager.go +++ b/pkg/plugin/clientmgmt/manager.go @@ -107,7 +107,7 @@ func (m *manager) getRestartableProcess(kind framework.PluginKind, name string) defer m.lock.Unlock() logger := m.logger.WithFields(logrus.Fields{ - "kind": framework.PluginKindObjectStore.String(), + "kind": kind.String(), "name": name, }) logger.Debug("looking for plugin in registry")