From 725b7c9d4332aee7bac0fa1bedacbabc6d2a2426 Mon Sep 17 00:00:00 2001 From: Zhang Wei Date: Thu, 5 Nov 2015 14:17:37 +0800 Subject: [PATCH] Fix docs typo and wrong word Signed-off-by: Zhang Wei --- api/types/types.go | 2 +- man/docker-cp.1.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/types/types.go b/api/types/types.go index ae2057df0c..25355d2a37 100644 --- a/api/types/types.go +++ b/api/types/types.go @@ -359,7 +359,7 @@ type NetworkResource struct { Options map[string]string } -//EndpointResource contains network resources allocated and usd for a container in a network +// EndpointResource contains network resources allocated and used for a container in a network type EndpointResource struct { EndpointID string MacAddress string diff --git a/man/docker-cp.1.md b/man/docker-cp.1.md index 7b56957579..70ee7f466d 100644 --- a/man/docker-cp.1.md +++ b/man/docker-cp.1.md @@ -121,7 +121,7 @@ name if one exists. For example, this command: If `/test` does not exist on the local machine, it will be created as a file with the contents of `/tmp/foo/myfile.txt` from the container. If `/test` -exists as a file, it will be overwritten. Lastly, if `/tmp` exists as a +exists as a file, it will be overwritten. Lastly, if `/test` exists as a directory, the file will be copied to `/test/myfile.txt`. Next, suppose you want to copy a file or folder into a container. For example,