mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove redundant word
Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn>
This commit is contained in:
parent
5c6b54c278
commit
c6edecc2d6
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
|
// 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.
|
// TCP listener inside a TLS one.
|
||||||
func NewTCPSocket(addr string, tlsConfig *tls.Config) (net.Listener, error) {
|
func NewTCPSocket(addr string, tlsConfig *tls.Config) (net.Listener, error) {
|
||||||
l, err := net.Listen("tcp", addr)
|
l, err := net.Listen("tcp", addr)
|
||||||
|
|
Loading…
Reference in a new issue