Package list golang-github-go-kit-kit / 4d3c82d
examples/addsvc: fix for Thrift change https://github.com/apache/thrift/pull/1285 Peter Bourgon 4 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
151151 fmt.Fprintf(os.Stderr, "error: %v\n", err)
152152 os.Exit(1)
153153 }
154 transport := transportFactory.GetTransport(transportSocket)
154 transport, err := transportFactory.GetTransport(transportSocket)
155 if err != nil {
156 fmt.Fprintf(os.Stderr, "error: %v\n", err)
157 os.Exit(1)
158 }
155159 if err := transport.Open(); err != nil {
156160 fmt.Fprintf(os.Stderr, "error: %v\n", err)
157161 os.Exit(1)