Address issues found by golint.

* No functional changes
* Did not address the ALL_CAPS issues
* Did not modify public APIs and field names.
This commit is contained in:
Colin Sullivan
2016-03-15 15:21:13 -06:00
parent ebe6bcdbd3
commit 2baac47820
33 changed files with 224 additions and 170 deletions

View File

@@ -150,7 +150,7 @@ func expectSyslogOutput(t *testing.T, line string, expected string) {
func runSyslog(c net.PacketConn, done chan<- string) {
var buf [4096]byte
var rcvd string = ""
var rcvd string
for {
n, _, err := c.ReadFrom(buf[:])
if err != nil || n == 0 {