From 0818d87b5e6f9c74ac9991a8ab2b6e185597f782 Mon Sep 17 00:00:00 2001 From: Akshay Saini Date: Tue, 17 Dec 2024 11:22:28 +0530 Subject: [PATCH] Fix unused-parameter error reported by golangci-lint --- service/step_defs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/step_defs_test.go b/service/step_defs_test.go index f921970..f5b079d 100644 --- a/service/step_defs_test.go +++ b/service/step_defs_test.go @@ -285,7 +285,7 @@ func (f *feature) checkGoRoutines(tag string) { func FeatureContext(s *godog.ScenarioContext) { f := &feature{} - s.Before(func(ctx context.Context, sc *godog.Scenario) (context.Context, error) { + s.Before(func(ctx context.Context, _ *godog.Scenario) (context.Context, error) { f.getNodeUnpublishVolumeRequest() return ctx, nil })