Prechádzať zdrojové kódy

Merge pull request #37782 from jianliao82/patch-1

fix a couple of typo
Sebastiaan van Stijn 6 rokov pred
rodič
commit
3d9adede13

+ 2 - 2
daemon/links/links.go

@@ -8,7 +8,7 @@ import (
 	"github.com/docker/go-connections/nat"
 	"github.com/docker/go-connections/nat"
 )
 )
 
 
-// Link struct holds informations about parent/child linked container
+// Link struct holds information about parent/child linked container
 type Link struct {
 type Link struct {
 	// Parent container IP address
 	// Parent container IP address
 	ParentIP string
 	ParentIP string
@@ -43,7 +43,7 @@ func NewLink(parentIP, childIP, name string, env []string, exposedPorts map[nat.
 	}
 	}
 }
 }
 
 
-// ToEnv creates a string's slice containing child container informations in
+// ToEnv creates a string's slice containing child container information in
 // the form of environment variables which will be later exported on container
 // the form of environment variables which will be later exported on container
 // startup.
 // startup.
 func (l *Link) ToEnv() []string {
 func (l *Link) ToEnv() []string {

+ 1 - 1
dockerversion/version_lib.go

@@ -4,7 +4,7 @@
 package dockerversion // import "github.com/docker/docker/dockerversion"
 package dockerversion // import "github.com/docker/docker/dockerversion"
 
 
 // Default build-time variable for library-import.
 // Default build-time variable for library-import.
-// This file is overridden on build with build-time informations.
+// This file is overridden on build with build-time information.
 const (
 const (
 	GitCommit             = "library-import"
 	GitCommit             = "library-import"
 	Version               = "library-import"
 	Version               = "library-import"

+ 2 - 2
hack/make/.go-autogen

@@ -13,7 +13,7 @@ cat > dockerversion/version_autogen.go <<DVEOF
 package dockerversion
 package dockerversion
 
 
 // Default build-time variable for library-import.
 // Default build-time variable for library-import.
-// This file is overridden on build with build-time informations.
+// This file is overridden on build with build-time information.
 const (
 const (
 	GitCommit             string = "$GITCOMMIT"
 	GitCommit             string = "$GITCOMMIT"
 	Version               string = "$VERSION"
 	Version               string = "$VERSION"
@@ -35,7 +35,7 @@ cat > dockerversion/version_autogen_unix.go <<DVEOF
 package dockerversion
 package dockerversion
 
 
 // Default build-time variable for library-import.
 // Default build-time variable for library-import.
-// This file is overridden on build with build-time informations.
+// This file is overridden on build with build-time information.
 const (
 const (
 	RuncCommitID string = "${RUNC_COMMIT}"
 	RuncCommitID string = "${RUNC_COMMIT}"
 	InitCommitID string = "${TINI_COMMIT}"
 	InitCommitID string = "${TINI_COMMIT}"

+ 1 - 1
hack/make/.go-autogen.ps1

@@ -41,7 +41,7 @@ try {
 package dockerversion
 package dockerversion
 
 
 // Default build-time variable for library-import.
 // Default build-time variable for library-import.
-// This file is overridden on build with build-time informations.
+// This file is overridden on build with build-time information.
 const (
 const (
     GitCommit             string = "'+$CommitString+'"
     GitCommit             string = "'+$CommitString+'"
     Version               string = "'+$DockerVersion+'"
     Version               string = "'+$DockerVersion+'"