From fc43f1c9417c28a8e4717345435461736144ca91 Mon Sep 17 00:00:00 2001 From: Harshit Gangal Date: Thu, 14 Nov 2024 13:28:16 +0530 Subject: [PATCH] linter fix to remove usage of deprecated method Signed-off-by: Harshit Gangal --- go/vt/mysqlctl/s3backupstorage/s3_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/mysqlctl/s3backupstorage/s3_test.go b/go/vt/mysqlctl/s3backupstorage/s3_test.go index 1acfddcce1e..84ef8de6e48 100644 --- a/go/vt/mysqlctl/s3backupstorage/s3_test.go +++ b/go/vt/mysqlctl/s3backupstorage/s3_test.go @@ -53,7 +53,7 @@ func (sfc *s3FakeClient) PutObject(ctx context.Context, in *s3.PutObjectInput, o _ = apiOption(stack) } - handler := middleware.DecorateHandler(smithyhttp.NewClientHandler(&fakeClientDo{delay: sfc.delay}), stack) + handler := middleware.DecorateHandler(smithyhttp.NewClientHandlerWithOptions(&fakeClientDo{delay: sfc.delay}), stack) _, _, err := handler.Handle(ctx, in) if err != nil { return nil, err