From 0aef76def97e1aa148d58b8a831f7c89b41ba9c4 Mon Sep 17 00:00:00 2001 From: Frank Olbricht Date: Tue, 30 Apr 2024 08:42:38 +0200 Subject: [PATCH] Fix typos (#267) --- README.md | 2 +- cmd/desync/store.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b568186..841bcaf 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ Available configuration values: - `timeout` - Time limit for chunk read or write operation in nanoseconds. Default: 1 minute. If set to a negative value, timeout is infinite. - `error-retry` - Number of times to retry failed chunk requests. Default: 0. - `error-retry-base-interval` - Number of nanoseconds to wait before first retry attempt. Retry attempt number N for the same request will wait N times this interval. Default: 0. - - `client-cert` - Cerificate file to be used for stores where the server requires mutual SSL. + - `client-cert` - Certificate file to be used for stores where the server requires mutual SSL. - `client-key` - Key file to be used for stores where the server requires mutual SSL. - `ca-cert` - Certificate file containing trusted certs or CAs. - `trust-insecure` - Trust any certificate presented by the server. diff --git a/cmd/desync/store.go b/cmd/desync/store.go index 8190a90..5cbbd7d 100644 --- a/cmd/desync/store.go +++ b/cmd/desync/store.go @@ -138,7 +138,7 @@ func storeFromLocation(location string, cmdOpt cmdStoreOptions) (desync.Store, e lookup = minio.BucketLookupPath case "", "auto": default: - return nil, fmt.Errorf("unknown S3 bucket lookup type: %q", s) + return nil, fmt.Errorf("unknown S3 bucket lookup type: %q", ls) } s, err = desync.NewS3Store(loc, s3Creds, region, opt, lookup) if err != nil {