Skip to content

Commit

Permalink
fix: listen on HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Aug 30, 2021
1 parent 0d5175c commit 93b7f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/sidecar/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func Exec(ctx context.Context) error {
go func() {
defer runtimeutil.HandleCrash()
logger.Info("starting HTTPS server")
if err := httpServer.ListenAndServe(); err != nil && err != http.ErrServerClosed {
if err := httpServer.ListenAndServeTLS("", ""); err != nil && err != http.ErrServerClosed {
logger.Error(err, "failed to listen-and-server on HTTPS")
}
logger.Info("HTTPS server shutdown")
Expand Down

0 comments on commit 93b7f76

Please sign in to comment.