From a83dba0752812df007a1a500b65ce7f0e70a2532 Mon Sep 17 00:00:00 2001 From: Stas Dm Date: Mon, 16 Sep 2024 14:40:12 +0200 Subject: [PATCH] fix: context --- pkg/kms/resolver_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/kms/resolver_test.go b/pkg/kms/resolver_test.go index cfaf1d65c..4b7a9d0a6 100644 --- a/pkg/kms/resolver_test.go +++ b/pkg/kms/resolver_test.go @@ -7,6 +7,7 @@ SPDX-License-Identifier: Apache-2.0 package kms_test import ( + "context" "testing" "github.com/aws/aws-sdk-go-v2/service/kms" @@ -20,7 +21,7 @@ func TestResolver(t *testing.T) { Endpoint: "http://localhost", } - resp, err := ep.ResolveEndpoint(nil, kms.EndpointParameters{}) + resp, err := ep.ResolveEndpoint(context.TODO(), kms.EndpointParameters{}) assert.NoError(t, err) assert.NotNil(t, resp)