Merge pull request #37782 from jianliao82/patch-1

fix a couple of typo
This commit is contained in:
Sebastiaan van Stijn 2018-09-08 09:44:00 +02:00 committed by GitHub
commit 3d9adede13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ import (
"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 {
// Parent container IP address
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
// startup.
func (l *Link) ToEnv() []string {

View file

@ -4,7 +4,7 @@
package dockerversion // import "github.com/docker/docker/dockerversion"
// 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 (
GitCommit = "library-import"
Version = "library-import"

View file

@ -13,7 +13,7 @@ cat > dockerversion/version_autogen.go <<DVEOF
package dockerversion
// 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 (
GitCommit string = "$GITCOMMIT"
Version string = "$VERSION"
@ -35,7 +35,7 @@ cat > dockerversion/version_autogen_unix.go <<DVEOF
package dockerversion
// 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 (
RuncCommitID string = "${RUNC_COMMIT}"
InitCommitID string = "${TINI_COMMIT}"

View file

@ -41,7 +41,7 @@ try {
package dockerversion
// 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 (
GitCommit string = "'+$CommitString+'"
Version string = "'+$DockerVersion+'"