diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-05-08 08:33:44 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-05-13 11:49:17 -0700 |
commit | b6113e2b9ea8f397e345a09335c26f953994c6f4 (patch) | |
tree | 5dfe310f20bc1b0ad5cadb84ef8416253df438ad /pkg/api/handlers | |
parent | d147b3ee027580dd7afdeb0fa04d990ae1d2ee91 (diff) | |
download | podman-b6113e2b9ea8f397e345a09335c26f953994c6f4.tar.gz podman-b6113e2b9ea8f397e345a09335c26f953994c6f4.tar.bz2 podman-b6113e2b9ea8f397e345a09335c26f953994c6f4.zip |
WIP V2 attach bindings and test
* Add ErrLostSync to report lost of sync when de-mux'ing stream
* Add logus.SetLevel(logrus.DebugLevel) when `go test -v` given
* Add context to debugging messages
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r-- | pkg/api/handlers/compat/containers_attach.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/containers_attach.go b/pkg/api/handlers/compat/containers_attach.go index 80ad52aee..52c851b8c 100644 --- a/pkg/api/handlers/compat/containers_attach.go +++ b/pkg/api/handlers/compat/containers_attach.go @@ -108,7 +108,7 @@ func AttachContainer(w http.ResponseWriter, r *http.Request) { // This header string sourced from Docker: // https://raw.githubusercontent.com/moby/moby/b95fad8e51bd064be4f4e58a996924f343846c85/api/server/router/container/container_routes.go - // Using literally to ensure compatability with existing clients. + // Using literally to ensure compatibility with existing clients. fmt.Fprintf(connection, "HTTP/1.1 101 UPGRADED\r\nContent-Type: application/vnd.docker.raw-stream\r\nConnection: Upgrade\r\nUpgrade: tcp\r\n\r\n") logrus.Debugf("Hijack for attach of container %s successful", ctr.ID()) |