Skip to content

Commit

Permalink
fix template/parseEnvironment function
Browse files Browse the repository at this point in the history
  • Loading branch information
MunifTanjim committed Dec 4, 2018
1 parent bdc8fb7 commit 5181e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func parseEnvironment(environ []string) Environment {
return env
}
for _, e := range environ {
kv := strings.Split(e, "=")
kv := strings.SplitN(e, "=", 2)
env[kv[0]] = kv[1]
}
return env
Expand Down

0 comments on commit 5181e0c

Please sign in to comment.