diff --git a/pkg/agent/sysadvisor/plugin/poweraware/evictor/server/evictor_service.go b/pkg/agent/sysadvisor/plugin/poweraware/evictor/server/evictor_service.go index 7f9f94935..f358eaee3 100644 --- a/pkg/agent/sysadvisor/plugin/poweraware/evictor/server/evictor_service.go +++ b/pkg/agent/sysadvisor/plugin/poweraware/evictor/server/evictor_service.go @@ -116,6 +116,10 @@ func (p *powerPressureEvictPlugin) Name() string { } func (p *powerPressureEvictPlugin) Start() error { + p.mutex.Lock() + defer p.mutex.Unlock() + + p.started = true return nil }