From cbd3fa4b3ba0e24c6008ac1e501d7a7fe25c1c99 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 18 Jul 2018 18:31:35 -0400 Subject: Lock go-hclog and go-plugin dependencies to a revision (#9128) --- vendor/github.com/hashicorp/yamux/session.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vendor/github.com') diff --git a/vendor/github.com/hashicorp/yamux/session.go b/vendor/github.com/hashicorp/yamux/session.go index d8446fa65..32ba02e02 100644 --- a/vendor/github.com/hashicorp/yamux/session.go +++ b/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: -- cgit v1.2.3-1-g7c22