Skip to content

Commit

Permalink
Merge pull request processout#2 from AgrimPrasad/unhealthy-typo
Browse files Browse the repository at this point in the history
ClientConn Unhealthy method:fix typo in name
  • Loading branch information
manuel-huez authored Mar 28, 2018
2 parents 24a3f0a + eae1e62 commit 6255e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ func (p *Pool) Get(ctx context.Context) (*ClientConn, error) {
return &wrapper, err
}

// Unhealhty marks the client conn as unhealthy, so that the connection
// Unhealthy marks the client conn as unhealthy, so that the connection
// gets reset when closed
func (c *ClientConn) Unhealhty() {
func (c *ClientConn) Unhealthy() {
c.unhealthy = true
}

Expand Down

0 comments on commit 6255e7b

Please sign in to comment.