From 2d58b25ea0cc5415808a92cb7b2323682b17854c Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Fri, 5 Aug 2022 16:07:43 +0400 Subject: [PATCH] [#643] Fix linter issues Signed-off-by: Angira Kekteeva --- api/auth/signer/v4/v4.go | 8 ++++---- cmd/s3-gw/main.go | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/auth/signer/v4/v4.go b/api/auth/signer/v4/v4.go index b663b55..f65a239 100644 --- a/api/auth/signer/v4/v4.go +++ b/api/auth/signer/v4/v4.go @@ -3,7 +3,7 @@ // Provides request signing for request that need to be signed with // AWS V4 Signatures. // -// Standalone Signer +// # Standalone Signer // // Generally using the signer outside of the SDK should not require any additional // logic when using Go v1.5 or higher. The signer does this by taking advantage @@ -14,10 +14,10 @@ // The signer will first check the URL.Opaque field, and use its value if set. // The signer does require the URL.Opaque field to be set in the form of: // -// "///" +// "///" // -// // e.g. -// "//example.com/some/path" +// // e.g. +// "//example.com/some/path" // // The leading "//" and hostname are required or the URL.Opaque escaping will // not work correctly. diff --git a/cmd/s3-gw/main.go b/cmd/s3-gw/main.go index f8d8dbb..3407339 100644 --- a/cmd/s3-gw/main.go +++ b/cmd/s3-gw/main.go @@ -15,9 +15,9 @@ import ( // Panics on failure. // // Logger is built from zap's production logging configuration with: -// * parameterized level (debug by default) -// * console encoding -// * ISO8601 time encoding +// - parameterized level (debug by default) +// - console encoding +// - ISO8601 time encoding // // Logger records a stack trace for all messages at or above fatal level. //