Skip to content

Commit

Permalink
Fix log fail
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Feb 12, 2020
1 parent 71a1d5b commit 2f83c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func httpStart(br *Broker, cfg *RttysConfig) {
}

if cfg.sslCert != "" && cfg.sslKey != "" {
log.Info().Msgf("Listen user on: %s SSL on")
log.Info().Msgf("Listen user on: %s SSL on", cfg.addrUser)
log.Fatal().Msg(http.ListenAndServeTLS(cfg.addrUser, cfg.sslCert, cfg.sslKey, nil).Error())
} else {
log.Info().Msgf("Listen user on: %s SSL off", cfg.addrUser)
Expand Down

0 comments on commit 2f83c70

Please sign in to comment.