From e712837922f08a12f4e8ebc7e368cd9f2245c190 Mon Sep 17 00:00:00 2001 From: henrylee2cn Date: Tue, 6 Mar 2018 17:43:45 +0800 Subject: [PATCH] disconnectingy -> disconnection --- plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.go b/plugin.go index fb8a8eed..46a4ccc5 100644 --- a/plugin.go +++ b/plugin.go @@ -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 @@ -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 {