Browse code

Fix typos

Signed-off-by: weipeng <weipeng@tuscloud.io>

weipeng authored on 2018/05/16 10:15:43
Showing 5 changed files
... ...
@@ -14,7 +14,7 @@ import (
14 14
 
15 15
 // TestPingFail tests that when a server sends a non-successful response that we
16 16
 // can still grab API details, when set.
17
-// Some of this is just excercising the code paths to make sure there are no
17
+// Some of this is just exercising the code paths to make sure there are no
18 18
 // panics.
19 19
 func TestPingFail(t *testing.T) {
20 20
 	var withHeader bool
... ...
@@ -136,7 +136,7 @@ func imageWithDigestString(image string, dgst digest.Digest) string {
136 136
 
137 137
 // imageWithTagString takes an image string, and returns a tagged image
138 138
 // string, adding a 'latest' tag if one was not provided. It returns an
139
-// emptry string if a canonical reference was provided
139
+// empty string if a canonical reference was provided
140 140
 func imageWithTagString(image string) string {
141 141
 	namedRef, err := reference.ParseNormalizedNamed(image)
142 142
 	if err == nil {
... ...
@@ -116,7 +116,7 @@ func TestNotCleanupMounts(t *testing.T) {
116 116
 }
117 117
 
118 118
 // TestTmpfsDevShmSizeOverride checks that user-specified /dev/tmpfs mount
119
-// size is not overriden by the default shmsize (that should only be used
119
+// size is not overridden by the default shmsize (that should only be used
120 120
 // for default /dev/shm (as in "shareable" and "private" ipc modes).
121 121
 // https://github.com/moby/moby/issues/35271
122 122
 func TestTmpfsDevShmSizeOverride(t *testing.T) {
... ...
@@ -411,7 +411,7 @@ func (d *Driver) terminateServiceVM(id, context string, force bool) (err error)
411 411
 		svm.signalStopFinished(err)
412 412
 	}()
413 413
 
414
-	// Now it's possible that the serivce VM failed to start and now we are trying to terminate it.
414
+	// Now it's possible that the service VM failed to start and now we are trying to terminate it.
415 415
 	// In this case, we will relay the error to the goroutines waiting for this vm to stop.
416 416
 	if err := svm.getStartError(); err != nil {
417 417
 		logrus.Debugf("lcowdriver: terminateservicevm: %s had failed to start up: %s", id, err)
... ...
@@ -4,7 +4,7 @@
4 4
 
5 5
 A daily meeting is hosted on [slack](https://dockercommunity.slack.com) every business day at 9am PST on the channel `#moby-project`.
6 6
 Lots of discussion happened during this meeting to kickstart the project, but now that we have the forums, we see less activity there.
7
-We are discussing the future of this meeting [here](https://forums.mobyproject.org/t/of-standups-future), we will possibily move the meeting
7
+We are discussing the future of this meeting [here](https://forums.mobyproject.org/t/of-standups-future), we will possibility move the meeting
8 8
 to weekly.
9 9
 
10 10
 ## Topics discussed last week
... ...
@@ -33,4 +33,4 @@ The builder dev report can be found [here](builder/2017-06-05.md)
33 33
 
34 34
 ### LinuxKit
35 35
 
36
-The LinuxKit dev report can be found [here](https://github.com/linuxkit/linuxkit/blob/master/reports/2017-06-03.md)
37 36
\ No newline at end of file
37
+The LinuxKit dev report can be found [here](https://github.com/linuxkit/linuxkit/blob/master/reports/2017-06-03.md)