mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix typo
fix typo Signed-off-by: jian liao <jliao@alauda.io>
This commit is contained in:
parent
54b62e62f7
commit
7427fe12d8
4 changed files with 6 additions and 6 deletions
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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+'"
|
||||
|
|
Loading…
Reference in a new issue