Skip to content

Commit

Permalink
remove useless nil
Browse files Browse the repository at this point in the history
  • Loading branch information
clems4ever committed Aug 5, 2023
1 parent e945148 commit 6f04479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/s3store/s3store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6f04479

Please sign in to comment.