dcl-ops-lib 8.2.0 → 8.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/createFargateTask.js +1 -1
- package/package.json +1 -1
package/createFargateTask.js
CHANGED
|
@@ -305,7 +305,7 @@ function createInternalService(config) {
|
|
|
305
305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
306
306
|
var _a, _b;
|
|
307
307
|
let { serviceName, cluster, securityGroups, ignoreServiceDiscovery, serviceDiscoveryPort, desiredCount, executionRole, taskRole, containerInfo, assignPublicIp, dependsOn, volumes, team, targetGroups, runtimePlatform, ephemeralStorageInGB, appAutoscaling, } = config;
|
|
308
|
-
if (!desiredCount)
|
|
308
|
+
if (!desiredCount && desiredCount !== 0)
|
|
309
309
|
desiredCount = 1;
|
|
310
310
|
assignPublicIp = !!assignPublicIp;
|
|
311
311
|
let serviceRegistries;
|