From 1b2aa76fbd3b484e2c3596980159eba4b4ad50e4 Mon Sep 17 00:00:00 2001 From: Vanshikav123 Date: Fri, 31 May 2024 19:20:22 +0530 Subject: [PATCH] readme update Signed-off-by: Vanshikav123 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2e9e50d..881ea208 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Generally, you have two ways of using `objstore` module: First is to import the provider you want e.g. [`github.com/thanos-io/objstore/providers/s3`](providers/s3) and instantiate it with available constructor (e.g. `NewBucket`). -The second option is to use the factory `NewBucket(logger log.Logger, confContentYaml []byte, reg prometheus.Registerer, component string,rt http.RoundTripper)` that will instantiate the object storage client based on YAML file provided. The YAML file has generally the format like this: +The second option is to use the factory `NewBucket(logger log.Logger, confContentYaml []byte, reg prometheus.Registerer, component string, rt http.RoundTripper)` that will instantiate the object storage client based on YAML file provided. The YAML file has generally the format like this: ```yaml type: @@ -114,7 +114,7 @@ config: The exact option depends on provider and are in sections below. - `NewBucket` function now accepts an `http.RoundTripper` parameter allows clients to provide a custom transport for HTTP requests, making the function more flexible , this change facilitates the use of various HTTP client configurations, including hedged HTTP transports. + `NewBucket` function now accepts an `http.RoundTripper` parameter allows clients to provide a custom transport for HTTP requests. This change allows the use of various HTTP clients, including hedged HTTP transports. > NOTE: All code snippets are auto-generated from code and up-to-date.