Skip to content

Commit

Permalink
Merge pull request #23 from andrewshan/main
Browse files Browse the repository at this point in the history
fix: use of closed connection
  • Loading branch information
andrewshan authored Feb 14, 2022
2 parents 3895078 + 2eb7b96 commit 10a7b81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ func (s *serverTestingSuite) TestRegister(c *check.C) {
if err != nil {
log.Fatalf("Failed to addr %s: %v", address, err)
}
defer listen.Close()
pSrv, err := polaris.Register(srv, listen,
polaris.WithServerApplication(serverSvc), polaris.WithServerNamespace(serverNamespace), polaris.WithTTL(2))
if nil != err {
Expand Down

0 comments on commit 10a7b81

Please sign in to comment.