Sha256: bb8645ce1b9fb3375e2be1975e9b9e5047c4c22d7f57723872c3db43339cd0d8
Contents?: true
Size: 294 Bytes
Versions: 2
Compression:
Stored size: 294 Bytes
Contents
function calculateServiceUsage(hostServiceId, services) { const service = services.find(serv => serv.id === hostServiceId); if ('currentCount' in service) { service.currentCount += 1; } else { service.currentCount = 1; } return services; } export { calculateServiceUsage };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_acd-0.11.0 | webpack/components/ApplicationInstance/ApplicationInstanceHelper.js |
foreman_acd-0.10.0 | webpack/components/ApplicationInstance/ApplicationInstanceHelper.js |