Browse code

fix typo

fix typo

Signed-off-by: jian liao <jliao@alauda.io>

jliao authored on 2018/09/07 15:09:35
Showing 4 changed files
... ...
@@ -8,7 +8,7 @@ import (
8 8
 	"github.com/docker/go-connections/nat"
9 9
 )
10 10
 
11
-// Link struct holds informations about parent/child linked container
11
+// Link struct holds information about parent/child linked container
12 12
 type Link struct {
13 13
 	// Parent container IP address
14 14
 	ParentIP string
... ...
@@ -43,7 +43,7 @@ func NewLink(parentIP, childIP, name string, env []string, exposedPorts map[nat.
43 43
 	}
44 44
 }
45 45
 
46
-// ToEnv creates a string's slice containing child container informations in
46
+// ToEnv creates a string's slice containing child container information in
47 47
 // the form of environment variables which will be later exported on container
48 48
 // startup.
49 49
 func (l *Link) ToEnv() []string {
... ...
@@ -4,7 +4,7 @@
4 4
 package dockerversion // import "github.com/docker/docker/dockerversion"
5 5
 
6 6
 // Default build-time variable for library-import.
7
-// This file is overridden on build with build-time informations.
7
+// This file is overridden on build with build-time information.
8 8
 const (
9 9
 	GitCommit             = "library-import"
10 10
 	Version               = "library-import"
... ...
@@ -13,7 +13,7 @@ cat > dockerversion/version_autogen.go <<DVEOF
13 13
 package dockerversion
14 14
 
15 15
 // Default build-time variable for library-import.
16
-// This file is overridden on build with build-time informations.
16
+// This file is overridden on build with build-time information.
17 17
 const (
18 18
 	GitCommit             string = "$GITCOMMIT"
19 19
 	Version               string = "$VERSION"
... ...
@@ -35,7 +35,7 @@ cat > dockerversion/version_autogen_unix.go <<DVEOF
35 35
 package dockerversion
36 36
 
37 37
 // Default build-time variable for library-import.
38
-// This file is overridden on build with build-time informations.
38
+// This file is overridden on build with build-time information.
39 39
 const (
40 40
 	RuncCommitID string = "${RUNC_COMMIT}"
41 41
 	InitCommitID string = "${TINI_COMMIT}"
... ...
@@ -41,7 +41,7 @@ try {
41 41
 package dockerversion
42 42
 
43 43
 // Default build-time variable for library-import.
44
-// This file is overridden on build with build-time informations.
44
+// This file is overridden on build with build-time information.
45 45
 const (
46 46
     GitCommit             string = "'+$CommitString+'"
47 47
     Version               string = "'+$DockerVersion+'"