Skip to content

Commit

Permalink
chore: add plugin weight
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Jun 3, 2023
1 parent 3697dde commit 98bf32a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ func (p *Plugin) Serve() chan error {
return errCh
}

func (p *Plugin) Weight() uint {
return 10
}

func (p *Plugin) Stop(ctx context.Context) error {
stopCh := make(chan struct{}, 1)

Expand Down

0 comments on commit 98bf32a

Please sign in to comment.