fix: use the right kind in getRestartableProcess logger

Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
pull/4822/head
yuvalman 2022-04-11 16:43:16 +03:00 committed by Yuval Manor
parent 9f83fc57c9
commit 4d0005640d
1 changed files with 1 additions and 1 deletions

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