mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
Remove extra \n in server to appease linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
parent
ad0fd73c31
commit
91c1cddc70
@ -59,7 +59,6 @@ func New() *grpc.Server {
|
|||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//CreateListener creates a listener either on tcp://, or local listener, supporting unix:// for unix socket or npipe:// for named pipes on windows
|
//CreateListener creates a listener either on tcp://, or local listener, supporting unix:// for unix socket or npipe:// for named pipes on windows
|
||||||
func CreateListener(address string) (net.Listener, error) {
|
func CreateListener(address string) (net.Listener, error) {
|
||||||
if strings.HasPrefix(address, "tcp://") {
|
if strings.HasPrefix(address, "tcp://") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user