summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/containers_attach.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-13 12:30:14 -0700
committerGitHub <noreply@github.com>2020-05-13 12:30:14 -0700
commit71f66f03c5dcf8ab65c741e64c60ce12b01218a8 (patch)
tree3000cb5cb03f019dd8b18386330552ca109e2612 /pkg/api/handlers/compat/containers_attach.go
parent886b2cc4b10c32611b45da983fa9d1318d38356a (diff)
parentb6113e2b9ea8f397e345a09335c26f953994c6f4 (diff)
downloadpodman-71f66f03c5dcf8ab65c741e64c60ce12b01218a8.tar.gz
podman-71f66f03c5dcf8ab65c741e64c60ce12b01218a8.tar.bz2
podman-71f66f03c5dcf8ab65c741e64c60ce12b01218a8.zip
Merge pull request #6203 from jwhonce/wip/attach
V2 attach bindings and test
Diffstat (limited to 'pkg/api/handlers/compat/containers_attach.go')
-rw-r--r--pkg/api/handlers/compat/containers_attach.go2
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())