From 6f0447947b6ca8e90bddc0d1ebc7277e2a1084ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Michaud?= Date: Sat, 5 Aug 2023 17:47:50 +0200 Subject: [PATCH] remove useless nil --- store/s3store/s3store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/s3store/s3store.go b/store/s3store/s3store.go index f4cdd49..18c2c9a 100644 --- a/store/s3store/s3store.go +++ b/store/s3store/s3store.go @@ -57,7 +57,7 @@ func (s *s3store) Init(a *app.App) (err error) { endpoint = aws.String(conf.Endpoint) } - var creds *credentials.Credentials = nil + var creds *credentials.Credentials // If creds are provided in the configuration, they are directly forwarded to the client as static credentials. // This is mainly used for self-hosted scenarii where users store the data in a S3-compatible object store. In that // case it does not really make sense to create an AWS configuration since there is no related AWS account.