fix: use the right kind in getRestartableProcess logger

Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
This commit is contained in:
yuvalman
2022-04-11 16:43:16 +03:00
committed by Yuval Manor
parent 9f83fc57c9
commit 4d0005640d

View File

@@ -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")