mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-25 02:56:55 +08:00
Update vendor github.com/lib/pq (#2752)
This commit is contained in:

committed by
Lunny Xiao

parent
d4c9399576
commit
2112eb8741
2
vendor/github.com/lib/pq/notify.go
generated
vendored
2
vendor/github.com/lib/pq/notify.go
generated
vendored
@ -639,7 +639,7 @@ func (l *Listener) resync(cn *ListenerConn, notificationChan <-chan *Notificatio
|
||||
// close and then return the error message from the connection, as
|
||||
// per ListenerConn's interface.
|
||||
if err != nil {
|
||||
for _ = range notificationChan {
|
||||
for range notificationChan {
|
||||
}
|
||||
doneChan <- cn.Err()
|
||||
return
|
||||
|
Reference in New Issue
Block a user