Skip to content

Commit

Permalink
disconnectingy -> disconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Mar 6, 2018
1 parent 8326c2b commit e712837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ type (
Plugin
PostReadReplyBody(ReadCtx) *Rerror
}
// PostDisconnectPlugin is executed after disconnectingy.
// PostDisconnectPlugin is executed after disconnection.
PostDisconnectPlugin interface {
Plugin
PostDisconnect(BaseSession) *Rerror
Expand Down Expand Up @@ -549,7 +549,7 @@ func (p *PluginContainer) PostReadReplyBody(ctx ReadCtx) *Rerror {
return nil
}

// PostDisconnect executes the defined plugins after disconnectingy.
// PostDisconnect executes the defined plugins after disconnection.
func (p *PluginContainer) PostDisconnect(sess BaseSession) *Rerror {
var rerr *Rerror
for _, plugin := range p.plugins {
Expand Down

0 comments on commit e712837

Please sign in to comment.