Fixing minor govet / misspell issue
This commit is contained in:
parent
5057dd68ee
commit
958e07bf66
|
@ -431,7 +431,7 @@ func (rc *Connection) controlPacket(handler Handler, res *Protocol_Data_Control.
|
|||
channel, found := rc.channelManager.GetChannel(id)
|
||||
|
||||
if !found {
|
||||
rc.traceLog(fmt.Sprintf("channel result recived for unknown channel: %v", channel.Type, id))
|
||||
rc.traceLog(fmt.Sprintf("channel result received for unknown channel: type:%s id:%v", channel.Type, id))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ func TestTimeoutPolicy(t *testing.T) {
|
|||
}
|
||||
err := policy.ExecuteAction(result)
|
||||
if err != nil {
|
||||
t.Errorf("Action should ahve returned nil: %v", err)
|
||||
t.Errorf("Action should have returned nil: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue