Merge pull request #1555 from crosbymichael/client-lint
Update client to pass go lint
This commit is contained in:
@@ -29,6 +29,8 @@ func dialer(address string, timeout time.Duration) (net.Conn, error) {
|
||||
return net.DialTimeout("unix", address, timeout)
|
||||
}
|
||||
|
||||
// DialAddress returns the address with unix:// prepended to the
|
||||
// provided address
|
||||
func DialAddress(address string) string {
|
||||
return fmt.Sprintf("unix://%s", address)
|
||||
}
|
||||
|
Reference in New Issue
Block a user