Commit 551b3c37 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer/rpc: missing format for muxconn

parent 7ae4665c
...@@ -152,7 +152,7 @@ func (m *MuxConn) Dial(id uint32) (io.ReadWriteCloser, error) { ...@@ -152,7 +152,7 @@ func (m *MuxConn) Dial(id uint32) (io.ReadWriteCloser, error) {
if stream, ok := m.streamsDial[id]; ok { if stream, ok := m.streamsDial[id]; ok {
m.muDial.Unlock() m.muDial.Unlock()
return nil, fmt.Errorf( return nil, fmt.Errorf(
"Stream %d already open for dial. State: %d", stream.state) "Stream %d already open for dial. State: %d", id, stream.state)
} }
// Create the new stream and put it in our list. We can then // Create the new stream and put it in our list. We can then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment