Browse code

fix typos in CHANGELOG.md and pull.go

Signed-off-by: allencloud <allen.sun@daocloud.io>

allencloud authored on 2016/04/28 15:08:21
Showing 2 changed files
... ...
@@ -31,13 +31,13 @@ be found.
31 31
 - Fix an issue where it would be impossible to update both `memory-swap` and `memory` value together ([#22255](https://github.com/docker/docker/pull/22255))
32 32
 - Fix a regression from 1.11.0 where the `/auth` endpoint would not initialize `serveraddress` if it is not provided ([#22254](https://github.com/docker/docker/pull/22254))
33 33
 - Add missing cleanup of container temporary files when cancelling a schedule restart ([#22237](https://github.com/docker/docker/pull/22237))
34
-- Removed scary error message when no restart policy is specified ([#21993](https://github.com/docker/docker/pull/21993))
34
+- Remove scary error message when no restart policy is specified ([#21993](https://github.com/docker/docker/pull/21993))
35 35
 - Fix a panic that would occur when the plugins were activated via the json spec ([#22191](https://github.com/docker/docker/pull/22191))
36 36
 - Fix restart backoff logic to correctly reset delay if container ran for at least 10secs ([#22125](https://github.com/docker/docker/pull/22125))
37 37
 - Remove error message when a container restart get cancelled ([#22123](https://github.com/docker/docker/pull/22123))
38
-- Fix an issue where `docker` would not correcly clean up after `docker exec` ([#22121](https://github.com/docker/docker/pull/22121))
39
-- Fix a panic that could occur when servicing concurrent `docker stats` commands ([#22120](https://github.com/docker/docker/pull/22120))`
40
-- Revert deprecation of non-existing host directories auto-creation ([#22065](https://github.com/docker/docker/pull/22065))
38
+- Fix an issue where `docker` would not correctly clean up after `docker exec` ([#22121](https://github.com/docker/docker/pull/22121))
39
+- Fix a panic that could occur when serving concurrent `docker stats` commands ([#22120](https://github.com/docker/docker/pull/22120))`
40
+- Revert deprecation of non-existent host directories auto-creation ([#22065](https://github.com/docker/docker/pull/22065))
41 41
 - Hide misleading rpc error on daemon shutdown ([#22058](https://github.com/docker/docker/pull/22058))
42 42
 
43 43
 ## 1.11.0 (2016-04-13)
... ...
@@ -1080,7 +1080,7 @@ by another client (#15489)
1080 1080
 
1081 1081
 #### Runtime
1082 1082
 * Support hairpin NAT without going through Docker server.
1083
-- devicemapper: succeed immediately when removing non-existing devices.
1083
+- devicemapper: succeed immediately when removing non-existent devices.
1084 1084
 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time and unlock while sleeping).
1085 1085
 - devicemapper: increase timeout in waitClose to 10 seconds.
1086 1086
 - devicemapper: ensure we shut down thin pool cleanly.
... ...
@@ -1201,7 +1201,7 @@ by another client (#15489)
1201 1201
 - Improve deprecation message.
1202 1202
 - Fix attach exit on darwin.
1203 1203
 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time, unlock while sleeping).
1204
-- devicemapper: succeed immediately when removing non-existing devices.
1204
+- devicemapper: succeed immediately when removing non-existent devices.
1205 1205
 - devicemapper: increase timeout in waitClose to 10 seconds.
1206 1206
 - Remove goroutine leak on error.
1207 1207
 - Update parseLxcInfo to comply with new lxc1.0 format.
... ...
@@ -97,7 +97,7 @@ func Pull(ctx context.Context, ref reference.Named, imagePullConfig *ImagePullCo
97 97
 		lastErr error
98 98
 
99 99
 		// discardNoSupportErrors is used to track whether an endpoint encountered an error of type registry.ErrNoSupport
100
-		// By default it is false, which means that if a ErrNoSupport error is encountered, it will be saved in lastErr.
100
+		// By default it is false, which means that if an ErrNoSupport error is encountered, it will be saved in lastErr.
101 101
 		// As soon as another kind of error is encountered, discardNoSupportErrors is set to true, avoiding the saving of
102 102
 		// any subsequent ErrNoSupport errors in lastErr.
103 103
 		// It's needed for pull-by-digest on v1 endpoints: if there are only v1 endpoints configured, the error should be