mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-18 10:46:22 +00:00
Only start an application when there is a commit
This commit is contained in:
parent
0d50132702
commit
117251bbc1
@ -89,7 +89,7 @@ exports.update = ->
|
||||
json: true
|
||||
).spread((request, body) ->
|
||||
console.log("Remote apps")
|
||||
remoteApps = ("registry.resin.io:5000/#{path.basename(app.git_repository, '.git')}/#{app.commit}" for app in body.d)
|
||||
remoteApps = ("registry.resin.io/#{path.basename(app.git_repository, '.git')}/#{app.commit}" for app in body.d when app.commit)
|
||||
console.log(remoteApps)
|
||||
|
||||
console.log("Local apps")
|
||||
|
Loading…
Reference in New Issue
Block a user