From dd6045cb3ecb5ac3e75ce8b759f059f3efadd5e0 Mon Sep 17 00:00:00 2001 From: datelier <57349093+datelier@users.noreply.github.com> Date: Mon, 21 Nov 2022 23:07:28 +0900 Subject: [PATCH] Fix deepsource: RVV-B0013 Unused method receiver (#1852) Co-authored-by: Kiichiro YUKAWA --- 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 }