Skip to content

Commit

Permalink
Merge pull request #260 from maryryang2/master
Browse files Browse the repository at this point in the history
Call underlying Unregister function
  • Loading branch information
koogoro authored Jun 23, 2023
2 parents f062694 + 9dc76a9 commit 436d200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net2/base_connection_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ func (p *connectionPoolImpl) Register(network string, address string) error {
return p.pool.Register(network + " " + address)
}

// BaseConnectionPool has nothing to do on Unregister.
// See ConnectionPool for documentation.
func (p *connectionPoolImpl) Unregister(network string, address string) error {
return nil
return p.pool.Unregister(network + " " + address)
}

func (p *connectionPoolImpl) ListRegistered() []NetworkAddress {
Expand Down

0 comments on commit 436d200

Please sign in to comment.