From 117251bbc11594401dc7b823d3b05202bf7fcafa Mon Sep 17 00:00:00 2001 From: Petros Aggelatos Date: Tue, 31 Dec 2013 06:39:47 +0000 Subject: [PATCH] Only start an application when there is a commit --- src/application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.coffee b/src/application.coffee index b655a6f1..a8772431 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -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")