Browse code

Engine: tiny cosmetic fix

To make @creack happy :)

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)

Solomon Hykes authored on 2014/02/25 05:08:37
Showing 1 changed files
... ...
@@ -37,7 +37,7 @@ func (env *Env) Exists(key string) bool {
37 37
 }
38 38
 
39 39
 func (env *Env) Init(src *Env) {
40
-	*env = make([]string, 0, len(*src))
40
+	(*env) = make([]string, 0, len(*src))
41 41
 	for _, val := range *src {
42 42
 		(*env) = append((*env), val)
43 43
 	}