From 9bd17a9a4e1912e9a3ea261ba3a71a72ab3d11f8 Mon Sep 17 00:00:00 2001 From: David Dollar Date: Mon, 12 Oct 2015 22:19:08 -0400 Subject: [PATCH] apps without releases dont count in the check --- api/models/system.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/models/system.go b/api/models/system.go index 3ba9ecc2e5..7bbac700f0 100644 --- a/api/models/system.go +++ b/api/models/system.go @@ -98,6 +98,10 @@ func maxAppConcurrency() (int, error) { return 0, err } + if rel == nil { + continue + } + m, err := LoadManifest(rel.Manifest) if err != nil {