Forráskód Böngészése

Remove redundant word

Signed-off-by: Cao Weiwei <cao.weiwei30@zte.com.cn>
Cao Weiwei 8 éve
szülő
commit
c6edecc2d6

+ 1 - 1
vendor/src/github.com/docker/go-connections/sockets/tcp_socket.go

@@ -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)