Lock go-hclog and go-plugin dependencies to a revision (#9128)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
3fcecd521a
Коммит
cbd3fa4b3b
6
vendor/github.com/hashicorp/yamux/session.go
сгенерированный
поставляемый
6
vendor/github.com/hashicorp/yamux/session.go
сгенерированный
поставляемый
@@ -309,8 +309,10 @@ func (s *Session) keepalive() {
|
||||
case <-time.After(s.config.KeepAliveInterval):
|
||||
_, err := s.Ping()
|
||||
if err != nil {
|
||||
s.logger.Printf("[ERR] yamux: keepalive failed: %v", err)
|
||||
s.exitErr(ErrKeepAliveTimeout)
|
||||
if err != ErrSessionShutdown {
|
||||
s.logger.Printf("[ERR] yamux: keepalive failed: %v", err)
|
||||
s.exitErr(ErrKeepAliveTimeout)
|
||||
}
|
||||
return
|
||||
}
|
||||
case <-s.shutdownCh:
|
||||
|
||||
Ссылка в новой задаче
Block a user