mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 00:23:57 +00:00
Use _.defaults instead of _.extend to ensure internal env vars are not overwritten
This commit is contained in:
parent
3e18a350f1
commit
0f20251a8b
@ -1,3 +1,4 @@
|
||||
* Use _.defaults instead of _.extend to ensure internal env vars are not overwritten [Pablo]
|
||||
* Expose resin API key to apps [Pablo]
|
||||
* On download start, set download_progress to 0. On finish, set state to Idle [Pablo]
|
||||
* Set GOARM separately for each architecture [Pablo]
|
||||
|
@ -143,7 +143,7 @@ exports.extendEnvVars = (env, uuid) ->
|
||||
RESIN: '1'
|
||||
USER: 'root'
|
||||
if env?
|
||||
_.extend(newEnv, env)
|
||||
_.defaults(newEnv, env)
|
||||
return Promise.props(newEnv)
|
||||
|
||||
# Callback function to enable/disable tcp pings
|
||||
|
Loading…
x
Reference in New Issue
Block a user