From 98bf32afdd841bf759bc4e38d00d31efbbf8df9d Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sat, 3 Jun 2023 16:21:49 +0200 Subject: [PATCH] chore: add plugin weight Signed-off-by: Valery Piashchynski --- plugin.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin.go b/plugin.go index b7aded2..e405603 100644 --- a/plugin.go +++ b/plugin.go @@ -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)