From 53a50df74273a8f2067427346aa32c6563c8c565 Mon Sep 17 00:00:00 2001 From: Ben McClelland Date: Thu, 11 Apr 2024 14:44:37 -0700 Subject: [PATCH] fix: admin change-bucket-owner cert disable verify --- cmd/versitygw/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/versitygw/admin.go b/cmd/versitygw/admin.go index c7121650..b228e393 100644 --- a/cmd/versitygw/admin.go +++ b/cmd/versitygw/admin.go @@ -367,7 +367,7 @@ func changeBucketOwner(ctx *cli.Context) error { return fmt.Errorf("failed to sign the request: %w", err) } - client := http.Client{} + client := initHTTPClient() resp, err := client.Do(req) if err != nil {