mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
Fix typos in models/ and modules/ (#1248)
This commit is contained in:
parent
ec0ae5d50c
commit
021904e4e6
26 changed files with 63 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue