fix typo

Signed-off-by: jian liao <jliao@alauda.io>
This commit is contained in:
jliao 2018-09-07 14:09:35 +08:00 committed by liaojian
parent 54b62e62f7
commit 7427fe12d8
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+'"