diff --git a/io_i_closer.go b/io_i_closer.go index a2025a6..6191193 100644 --- a/io_i_closer.go +++ b/io_i_closer.go @@ -277,7 +277,7 @@ func (this *ICloser) MustDial(ctx context.Context) (ReadWriteCloser, string) { if t > this.redialMaxTime { t = this.redialMaxTime } - this.Logger.Errorf("[%s] %v,等待%d秒重试", this.GetKey(), dealErr(err), t/time.Second) + this.Logger.Errorf("[%s] %v,等待%d秒重试", key, dealErr(err), t/time.Second) timer.Reset(t) } }