summaryrefslogtreecommitdiff
path: root/client/container_update.go
diff options
context:
space:
mode:
authorLevi Harrison <levisamuelharrison@gmail.com>2021-02-16 10:07:44 -0500
committerLevi Harrison <levisamuelharrison@gmail.com>2021-02-16 10:07:44 -0500
commit8128a9a47870cd2186bfe97d81bced5ad5e25ff1 (patch)
tree34a3552ed26bf196b73535b31d11a7b89905025b /client/container_update.go
parent01ae718aef64ff684501a8702f587af0ec034e71 (diff)
downloaddocker-8128a9a47870cd2186bfe97d81bced5ad5e25ff1.tar.gz
Fix grammar in client function comments
Changes certain words and adds punctuation to the comments of functions in the client package, which end up in the GoDoc documentation. Areas where only periods were needed were ignored to prevent excessive code churn. Signed-off-by: Levi Harrison <levisamuelharrison@gmail.com>
Diffstat (limited to 'client/container_update.go')
-rw-r--r--client/container_update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/container_update.go b/client/container_update.go
index 6917cf9fb3..bf68a5300e 100644
--- a/client/container_update.go
+++ b/client/container_update.go
@@ -7,7 +7,7 @@ import (
"github.com/docker/docker/api/types/container"
)
-// ContainerUpdate updates resources of a container
+// ContainerUpdate updates the resources of a container.
func (cli *Client) ContainerUpdate(ctx context.Context, containerID string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error) {
var response container.ContainerUpdateOKBody
serverResp, err := cli.post(ctx, "/containers/"+containerID+"/update", nil, updateConfig, nil)