mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 14:06:30 +00:00
Refactoring: variable names, adding tests and http constants
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -135,6 +135,7 @@ func buildEnv(envProcess string, envVars map[string]string) []string {
|
||||
if len(envProcess) > 0 {
|
||||
env = append(env, fmt.Sprintf("fprocess=%s", envProcess))
|
||||
}
|
||||
|
||||
for k, v := range envVars {
|
||||
env = append(env, fmt.Sprintf("%s=%s", k, v))
|
||||
}
|
||||
|
Reference in New Issue
Block a user