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 {