Skip to content

Commit

Permalink
fix: context
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 committed Sep 16, 2024
1 parent e8a35e8 commit a83dba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/kms/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)

Expand Down

0 comments on commit a83dba0

Please sign in to comment.