Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: logdog/client/butlerlib/streamclient/client_namedPipe_posix.go

Issue 2456953003: LogDog: Update client/bootstrap to generate URLs. (Closed)
Patch Set: Winders Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}
« no previous file with comments | « logdog/client/butlerlib/streamclient/client.go ('k') | logdog/client/butlerlib/streamclient/client_namedPipe_windows.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698