Skip to content

Commit 1102c59

Browse files
committed
review suggestion
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
1 parent 3f591d9 commit 1102c59

File tree

1 file changed

+2
-3
lines changed
  • go/vt/mysqlctl/s3backupstorage

1 file changed

+2
-3
lines changed

go/vt/mysqlctl/s3backupstorage/s3.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ import (
4444
"github.com/aws/aws-sdk-go-v2/feature/s3/manager"
4545
"github.com/aws/aws-sdk-go-v2/service/s3"
4646
"github.com/aws/aws-sdk-go-v2/service/s3/types"
47+
transport "github.com/aws/smithy-go/endpoints"
4748
"github.com/aws/smithy-go/middleware"
4849
"github.com/spf13/pflag"
4950

50-
smithyendpoints "github.com/aws/smithy-go/endpoints"
51-
5251
"vitess.io/vitess/go/vt/concurrency"
5352
"vitess.io/vitess/go/vt/log"
5453
stats "vitess.io/vitess/go/vt/mysqlctl/backupstats"
@@ -117,7 +116,7 @@ type endpointResolver struct {
117116
endpoint *string
118117
}
119118

120-
func (er *endpointResolver) ResolveEndpoint(ctx context.Context, params s3.EndpointParameters) (smithyendpoints.Endpoint, error) {
119+
func (er *endpointResolver) ResolveEndpoint(ctx context.Context, params s3.EndpointParameters) (transport.Endpoint, error) {
121120
params.Endpoint = er.endpoint
122121
return er.r.ResolveEndpoint(ctx, params)
123122
}

0 commit comments

Comments
 (0)