Browse code

typo: called to caller

Signed-off-by: Weixie Cui <cuiweixie@gmail.com>

Weixie Cui authored on 2026/01/26 21:14:43
Showing 4 changed files
... ...
@@ -23,7 +23,7 @@ type ContainerAttachResult struct {
23 23
 
24 24
 // ContainerAttach attaches a connection to a container in the server.
25 25
 // It returns a [HijackedResponse] with the hijacked connection
26
-// and a reader to get output. It's up to the called to close
26
+// and a reader to get output. It's up to the caller to close
27 27
 // the hijacked connection by calling [HijackedResponse.Close].
28 28
 //
29 29
 // The stream format on the response uses one of two formats:
... ...
@@ -117,7 +117,7 @@ type ExecAttachResult struct {
117 117
 // ExecAttach attaches a connection to an exec process in the server.
118 118
 //
119 119
 // It returns a [HijackedResponse] with the hijacked connection
120
-// and a reader to get output. It's up to the called to close
120
+// and a reader to get output. It's up to the caller to close
121 121
 // the hijacked connection by calling [HijackedResponse.Close].
122 122
 //
123 123
 // The stream format on the response uses one of two formats:
... ...
@@ -23,7 +23,7 @@ type ContainerAttachResult struct {
23 23
 
24 24
 // ContainerAttach attaches a connection to a container in the server.
25 25
 // It returns a [HijackedResponse] with the hijacked connection
26
-// and a reader to get output. It's up to the called to close
26
+// and a reader to get output. It's up to the caller to close
27 27
 // the hijacked connection by calling [HijackedResponse.Close].
28 28
 //
29 29
 // The stream format on the response uses one of two formats:
... ...
@@ -117,7 +117,7 @@ type ExecAttachResult struct {
117 117
 // ExecAttach attaches a connection to an exec process in the server.
118 118
 //
119 119
 // It returns a [HijackedResponse] with the hijacked connection
120
-// and a reader to get output. It's up to the called to close
120
+// and a reader to get output. It's up to the caller to close
121 121
 // the hijacked connection by calling [HijackedResponse.Close].
122 122
 //
123 123
 // The stream format on the response uses one of two formats: