Skip to content

Commit

Permalink
Fixes to MySQL state store (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItalyPaleAle authored Aug 18, 2022
1 parent e87cd5e commit 8b48210
Show file tree
Hide file tree
Showing 5 changed files with 561 additions and 469 deletions.
2 changes: 0 additions & 2 deletions state/mysql/mySQLFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ func (m *mySQLFactory) RegisterTLSConfig(pemPath string) error {

if readErr != nil {
m.logger.Error("Error reading PEM file from " + pemPath)

return readErr
}

ok := rootCertPool.AppendCertsFromPEM(pem)

if !ok {
return fmt.Errorf("failed to append PEM")
}
Expand Down
Loading

0 comments on commit 8b48210

Please sign in to comment.