Skip to content

Commit

Permalink
pap: bug fix - evict service started flag not set on Start
Browse files Browse the repository at this point in the history
  • Loading branch information
h-w-chen committed Dec 2, 2024
1 parent 84131ec commit 07840c5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 07840c5

Please sign in to comment.