mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #26337 from icaoweiwei/patch_2016-09-06_1
Remove redundant word
This commit is contained in:
commit
1c7c298d2b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
// NewTCPSocket creates a TCP socket listener with the specified address and
|
||||
// and the specified tls configuration. If TLSConfig is set, will encapsulate the
|
||||
// the specified tls configuration. If TLSConfig is set, will encapsulate the
|
||||
// TCP listener inside a TLS one.
|
||||
func NewTCPSocket(addr string, tlsConfig *tls.Config) (net.Listener, error) {
|
||||
l, err := net.Listen("tcp", addr)
|
||||
|
|
Loading…
Add table
Reference in a new issue