Merge pull request #4822 from yuvalman/patch-1

fix: use the right kind in getRestartableProcess logger
This commit is contained in:
qiuming
2022-04-15 16:58:46 +08:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ func (m *manager) getRestartableProcess(kind framework.PluginKind, name string)
defer m.lock.Unlock() defer m.lock.Unlock()
logger := m.logger.WithFields(logrus.Fields{ logger := m.logger.WithFields(logrus.Fields{
"kind": framework.PluginKindObjectStore.String(), "kind": kind.String(),
"name": name, "name": name,
}) })
logger.Debug("looking for plugin in registry") logger.Debug("looking for plugin in registry")