mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
When the client closes websocket connections that sends container output through websocket, an error message is displayed: "Error attaching websocket: %!s(<nil>)" This message is misleading. Thus, this change suggests to check if error is nil and print the correct message accordingly. Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com> Upstream-commit: 8f65bb6d90e3a95420bb634e415c3cce36d86201 Component: engine