From 814683be4d3aea28121c5da084eaf739026a1fcb Mon Sep 17 00:00:00 2001 From: David Dollar Date: Tue, 13 Oct 2015 20:18:08 -0400 Subject: [PATCH] check that the process has external ports not the whole app --- api/models/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/models/system.go b/api/models/system.go index 7bbac700f0..d33de0c30b 100644 --- a/api/models/system.go +++ b/api/models/system.go @@ -115,7 +115,7 @@ func maxAppConcurrency() (int, error) { } for _, me := range m { - if m.HasExternalPorts() { + if len(me.ExternalPorts()) > 0 { entry := f.Entry(me.Name) if entry != nil && entry.Count > max {