Fix some typos

Signed-off-by: Jannick Fahlbusch <git@jf-projects.de>
Upstream-commit: e3490cdcc0e2b1e4c4da125626430016a3048128
Component: engine
This commit is contained in:
Jannick Fahlbusch
2016-06-08 21:58:45 +02:00
parent 6c2f2ddb74
commit 79ea898035
3 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ func (cli *DockerCli) GetTtySize() (int, int) {
return int(ws.Height), int(ws.Width)
}
// CopyToFile writes the content of the reader to the specifed file
// CopyToFile writes the content of the reader to the specified file
func CopyToFile(outfile string, r io.Reader) error {
tmpFile, err := ioutil.TempFile(filepath.Dir(outfile), ".docker_temp_")
if err != nil {
@ -208,7 +208,7 @@ func (cli *DockerCli) RetrieveAuthConfigs() map[string]types.AuthConfig {
return acs
}
// ForwardAllSignals forwards signals to the contianer
// ForwardAllSignals forwards signals to the container
// TODO: this can be unexported again once all container commands are under
// api/client/container
func (cli *DockerCli) ForwardAllSignals(ctx context.Context, cid string) chan os.Signal {