mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
fix (pipes): silence EOF error
This comes back when an operation like Kubernetes Describe finishes; hide it so we don't print as an error.
This commit is contained in:
@@ -374,6 +374,9 @@ func (c *appClient) pipeConnection(id string, pipe xfer.Pipe) (bool, error) {
|
||||
|
||||
_, remote := pipe.Ends()
|
||||
done, err := pipe.CopyToWebsocket(remote, conn)
|
||||
if err == io.EOF {
|
||||
return true, nil
|
||||
}
|
||||
return done, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user