fix some linter warnings

This commit is contained in:
Lucas Clemente 2016-07-25 16:59:07 +02:00
parent 03bad0e86b
commit 6f657c02e4
2 changed files with 8 additions and 8 deletions

View file

@ -104,8 +104,8 @@ var _ = Describe("Server", func() {
go func() {
defer GinkgoRecover()
err := server.Serve(serverConn)
Expect(err).ToNot(HaveOccurred())
err2 := server.Serve(serverConn)
Expect(err2).ToNot(HaveOccurred())
close(done)
}()
@ -143,8 +143,8 @@ var _ = Describe("Server", func() {
go func() {
defer GinkgoRecover()
err := server.Serve(serverConn)
Expect(err).ToNot(HaveOccurred())
err2 := server.Serve(serverConn)
Expect(err2).ToNot(HaveOccurred())
close(done)
}()