From c406ac30194577ec4b64ac2b44e8d2695c939b24 Mon Sep 17 00:00:00 2001 From: datelier <57349093+datelier@users.noreply.github.com> Date: Mon, 21 Nov 2022 15:56:56 +0900 Subject: [PATCH] fix deepsource: Unused method receiver --- pkg/gateway/filter/usecase/vald.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gateway/filter/usecase/vald.go b/pkg/gateway/filter/usecase/vald.go index e4f95815fa..9e26c68f1e 100644 --- a/pkg/gateway/filter/usecase/vald.go +++ b/pkg/gateway/filter/usecase/vald.go @@ -229,7 +229,7 @@ func (r *run) Start(ctx context.Context) (<-chan error, error) { return ech, nil } -func (r *run) PreStop(_ context.Context) error { +func (*run) PreStop(_ context.Context) error { return nil }