Browse Source

Fix typos

Signed-off-by: weipeng <weipeng@tuscloud.io>
weipeng 7 years ago
parent
commit
f781ec45b5

+ 1 - 1
client/ping_test.go

@@ -14,7 +14,7 @@ import (
 
 // TestPingFail tests that when a server sends a non-successful response that we
 // can still grab API details, when set.
-// Some of this is just excercising the code paths to make sure there are no
+// Some of this is just exercising the code paths to make sure there are no
 // panics.
 func TestPingFail(t *testing.T) {
 	var withHeader bool

+ 1 - 1
client/service_create.go

@@ -136,7 +136,7 @@ func imageWithDigestString(image string, dgst digest.Digest) string {
 
 // imageWithTagString takes an image string, and returns a tagged image
 // string, adding a 'latest' tag if one was not provided. It returns an
-// emptry string if a canonical reference was provided
+// empty string if a canonical reference was provided
 func imageWithTagString(image string) string {
 	namedRef, err := reference.ParseNormalizedNamed(image)
 	if err == nil {

+ 1 - 1
daemon/daemon_linux_test.go

@@ -116,7 +116,7 @@ func TestNotCleanupMounts(t *testing.T) {
 }
 
 // TestTmpfsDevShmSizeOverride checks that user-specified /dev/tmpfs mount
-// size is not overriden by the default shmsize (that should only be used
+// size is not overridden by the default shmsize (that should only be used
 // for default /dev/shm (as in "shareable" and "private" ipc modes).
 // https://github.com/moby/moby/issues/35271
 func TestTmpfsDevShmSizeOverride(t *testing.T) {

+ 1 - 1
daemon/graphdriver/lcow/lcow.go

@@ -411,7 +411,7 @@ func (d *Driver) terminateServiceVM(id, context string, force bool) (err error)
 		svm.signalStopFinished(err)
 	}()
 
-	// Now it's possible that the serivce VM failed to start and now we are trying to terminate it.
+	// Now it's possible that the service VM failed to start and now we are trying to terminate it.
 	// In this case, we will relay the error to the goroutines waiting for this vm to stop.
 	if err := svm.getStartError(); err != nil {
 		logrus.Debugf("lcowdriver: terminateservicevm: %s had failed to start up: %s", id, err)

+ 2 - 2
reports/2017-06-05.md

@@ -4,7 +4,7 @@
 
 A daily meeting is hosted on [slack](https://dockercommunity.slack.com) every business day at 9am PST on the channel `#moby-project`.
 Lots of discussion happened during this meeting to kickstart the project, but now that we have the forums, we see less activity there.
-We are discussing the future of this meeting [here](https://forums.mobyproject.org/t/of-standups-future), we will possibily move the meeting
+We are discussing the future of this meeting [here](https://forums.mobyproject.org/t/of-standups-future), we will possibility move the meeting
 to weekly.
 
 ## Topics discussed last week
@@ -33,4 +33,4 @@ The builder dev report can be found [here](builder/2017-06-05.md)
 
 ### LinuxKit
 
-The LinuxKit dev report can be found [here](https://github.com/linuxkit/linuxkit/blob/master/reports/2017-06-03.md)
+The LinuxKit dev report can be found [here](https://github.com/linuxkit/linuxkit/blob/master/reports/2017-06-03.md)