mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	go lint/vet/misspell cleanup (#1105)
This fix address several issues related to golint/vet/misspell. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
		| @@ -9,11 +9,9 @@ func sendOneTCP(tcp *TCP) error { | ||||
| 	if _, err := tcp.Write([]byte("frame")); err != nil { | ||||
| 		return err | ||||
| 	} | ||||
| 	if err := tcp.Flush(); err != nil { | ||||
| 		return err | ||||
| 	} | ||||
| 	return nil | ||||
| 	return tcp.Flush() | ||||
| } | ||||
|  | ||||
| func TestTCP(t *testing.T) { | ||||
| 	tcp := NewTCP("localhost:14000") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user