fix: dep ensure. now without gofmt on ventor directory

This commit is contained in:
Marcus Efraimsson
2018-03-20 09:23:18 +01:00
parent 4033283254
commit b816f18b3d
17 changed files with 61 additions and 63 deletions
+1 -1
View File
@@ -567,7 +567,7 @@ func (c *Client) Start() (addr net.Addr, err error) {
// so they don't block since it is an io.Pipe
defer func() {
go func() {
for range linesCh {
for _ = range linesCh {
}
}()
}()
+1 -1
View File
@@ -75,7 +75,7 @@ func NewRPCClient(conn io.ReadWriteCloser, plugins map[string]Plugin) (*RPCClien
// Connect stdout, stderr streams
stdstream := make([]net.Conn, 2)
for i := range stdstream {
for i, _ := range stdstream {
stdstream[i], err = mux.Open()
if err != nil {
mux.Close()
+1 -1
View File
@@ -78,7 +78,7 @@ func (s *RPCServer) ServeConn(conn io.ReadWriteCloser) {
// Connect the stdstreams (in, out, err)
stdstream := make([]net.Conn, 2)
for i := range stdstream {
for i, _ := range stdstream {
stdstream[i], err = mux.Accept()
if err != nil {
mux.Close()