mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
Fix preloaded apps by passing appId to extendEnvVars
This commit is contained in:
parent
59cf4fd652
commit
08d74b578b
@ -1,3 +1,5 @@
|
||||
* Fix preloaded apps by passing appId to extendEnvVars
|
||||
|
||||
# v1.12.0
|
||||
|
||||
* Add endpoints for docker-compose up and down [Pablo]
|
||||
|
@ -20,7 +20,7 @@ loadPreloadedApps = ->
|
||||
fs.readFileAsync(appsPath, 'utf8')
|
||||
.then(JSON.parse)
|
||||
.map (app) ->
|
||||
utils.extendEnvVars(app.env, userConfig.uuid)
|
||||
utils.extendEnvVars(app.env, userConfig.uuid, app.appId)
|
||||
.then (extendedEnv) ->
|
||||
app.env = JSON.stringify(extendedEnv)
|
||||
knex('app').insert(app)
|
||||
|
Loading…
x
Reference in New Issue
Block a user