diff --git a/pkg/cache/placeholder_manager.go b/pkg/cache/placeholder_manager.go index 9ac19b04a..4ac47ce4f 100644 --- a/pkg/cache/placeholder_manager.go +++ b/pkg/cache/placeholder_manager.go @@ -129,12 +129,12 @@ func (mgr *PlaceholderManager) cleanOrphanPlaceholders() { } func (mgr *PlaceholderManager) Start() { - mgr.stopChan = make(chan struct{}) if mgr.isRunning() { log.Logger().Info("The placeholder manager has been started") return } log.Logger().Info("starting the Placeholder Manager") + mgr.stopChan = make(chan struct{}) mgr.setRunning(true) go func() { for {