diff --git a/src/apps.js b/src/apps.js index 5dd33bbc4..85b395c1a 100644 --- a/src/apps.js +++ b/src/apps.js @@ -659,7 +659,7 @@ function postProcess(result) { delete result.portCounts; for (let i = 0; i < environmentVariables.length; i++) { - result.portBindings[environmentVariables[i]] = { hostPort: parseInt(hostPorts[i], 10), type: portTypes[i], portCount: portCounts[i] }; + result.portBindings[environmentVariables[i]] = { hostPort: parseInt(hostPorts[i], 10), type: portTypes[i], portCount: parseInt(portCounts[i], 10) }; } assert(result.accessRestrictionJson === null || typeof result.accessRestrictionJson === 'string');