mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
fix getListener comment
This commit is contained in:
parent
9f1720f01d
commit
1e05a6d627
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ func NewStatsClient(name string, host string) (pilosa.StatsClient, error) {
|
|||
}
|
||||
}
|
||||
|
||||
// OpenListener opens a listener for the Server.
|
||||
// getListener gets a net.Listener based on the config.
|
||||
func getListener(uri pilosa.URI, tlsconf *tls.Config) (ln net.Listener, err error) {
|
||||
// If bind URI has the https scheme, enable TLS
|
||||
if uri.Scheme() == "https" && tlsconf != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue