Fix vet and lint complaints

This commit is contained in:
Jakob Borg
2015-09-22 20:34:24 +02:00
parent a4673f3007
commit 7fdfa81fb8
6 changed files with 51 additions and 49 deletions

View File

@@ -182,7 +182,7 @@ func (c *ProtocolClient) String() string {
func (c *ProtocolClient) connect() error {
if c.URI.Scheme != "relay" {
return fmt.Errorf("Unsupported relay schema:", c.URI.Scheme)
return fmt.Errorf("Unsupported relay schema: %v", c.URI.Scheme)
}
t0 := time.Now()