| Index: logdog/client/butlerlib/streamclient/client_namedPipe_posix.go
|
| diff --git a/logdog/client/butlerlib/streamclient/client_namedPipe_posix.go b/logdog/client/butlerlib/streamclient/client_namedPipe_posix.go
|
| index 6fd30d70ecc9d17c7275f9534c309b46053a98fb..5ae680695e6a630223eeed158920deef7ec182fb 100644
|
| --- a/logdog/client/butlerlib/streamclient/client_namedPipe_posix.go
|
| +++ b/logdog/client/butlerlib/streamclient/client_namedPipe_posix.go
|
| @@ -32,7 +32,9 @@ func newUnixSocketClient(path string) (Client, error) {
|
| return nil, fmt.Errorf("not a named pipe: [%s]", path)
|
| }
|
|
|
| - return &clientImpl{func() (io.WriteCloser, error) {
|
| - return net.Dial("unix", path)
|
| - }}, nil
|
| + return &clientImpl{
|
| + factory: func() (io.WriteCloser, error) {
|
| + return net.Dial("unix", path)
|
| + },
|
| + }, nil
|
| }
|
|
|