Fixing minor govet / misspell issue

This commit is contained in:
Sarah Jamie Lewis 2017-11-04 08:56:20 -07:00
parent 5057dd68ee
commit 958e07bf66
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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)
}
}