Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Houssem Ben Mabrouk <[email protected]>
  • Loading branch information
orange-hbenmabrouk committed Nov 13, 2024
1 parent a86e5da commit 12a393f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector/cert/cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (c *Config) Open(id string, logger *slog.Logger) (connector.Connector, erro
return nil, errors.New("missing required config field 'rootCAs'")
}

var rootCAs []*x509.CertPool
rootCAs := []*x509.CertPool{}
for _, rootCA := range c.RootCAs {
pool, err := loadCACert(rootCA)
if err != nil {
Expand Down

0 comments on commit 12a393f

Please sign in to comment.