Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ameshkov committed Feb 3, 2024
1 parent fa78666 commit 5400971
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/pipe/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ func createTLSConfig(config *Config) (tlsConfig *tls.Config, err error) {
if tlsCert == nil {
log.Info("Generating a stub certificate for %s", serverName)
tlsCert, err = createStubCertificate(serverName)
if err != nil {
return nil, fmt.Errorf("failed to generate a stub certificate: %w", err)
}
} else {
log.Info("Using the supplied TLS certificate")
}
Expand Down

0 comments on commit 5400971

Please sign in to comment.