diff options
Diffstat (limited to 'modules/log/conn.go')
-rw-r--r-- | modules/log/conn.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/log/conn.go b/modules/log/conn.go index b1801d08f7..edb149dfa5 100644 --- a/modules/log/conn.go +++ b/modules/log/conn.go @@ -42,7 +42,7 @@ func (cw *ConnWriter) WriteMsg(msg string, skip, level int) error { if cw.Level > level { return nil } - if cw.neddedConnectOnMsg() { + if cw.neededConnectOnMsg() { if err := cw.connect(); err != nil { return err } @@ -87,7 +87,7 @@ func (cw *ConnWriter) connect() error { return nil } -func (cw *ConnWriter) neddedConnectOnMsg() bool { +func (cw *ConnWriter) neededConnectOnMsg() bool { if cw.Reconnect { cw.Reconnect = false return true |