mirror of https://github.com/docker/docs.git
Engine: tiny cosmetic fix
To make @creack happy :) Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
parent
d985fd4984
commit
0469e7d062
|
@ -37,7 +37,7 @@ func (env *Env) Exists(key string) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (env *Env) Init(src *Env) {
|
func (env *Env) Init(src *Env) {
|
||||||
*env = make([]string, 0, len(*src))
|
(*env) = make([]string, 0, len(*src))
|
||||||
for _, val := range *src {
|
for _, val := range *src {
|
||||||
(*env) = append((*env), val)
|
(*env) = append((*env), val)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue