From 2ac2ad771606740e66823429720f69e56f82724d Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Mon, 29 Apr 2024 18:07:13 +0530 Subject: [PATCH] Log log log --- azurecontainerapps.ts | 7 +++---- dist/index.js | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/azurecontainerapps.ts b/azurecontainerapps.ts index 54dbd25..c0cfb2f 100644 --- a/azurecontainerapps.ts +++ b/azurecontainerapps.ts @@ -351,14 +351,13 @@ export class azurecontainerapps { private static async createAddOnServices(containerAppName: string, resourceGroup: string, environment: string): Promise { let createdServices: string[] = [] - console.log("Trying to create addOnServices") + console.log("addons", this.addOnTypes) for (const addOn in this.addOnTypes){ let services = this.toolHelper.getInput(addOn, false) - + console.log("services", services) if (!this.util.isNullOrEmpty(services)){ - let bindings = this.util.parseServices(services) - + console.log("bindinds", bindings) for (const binding in bindings) { let bindingName = `${containerAppName}-${addOn}-${binding}` await this.addOnHelper.createAddOnService(addOn, bindingName, resourceGroup, environment) diff --git a/dist/index.js b/dist/index.js index b31e0d2..ef64aa6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4232,11 +4232,13 @@ class azurecontainerapps { static createAddOnServices(containerAppName, resourceGroup, environment) { return __awaiter(this, void 0, void 0, function* () { let createdServices = []; - console.log("Trying to create addOnServices"); + console.log("addons", this.addOnTypes); for (const addOn in this.addOnTypes) { let services = this.toolHelper.getInput(addOn, false); + console.log("services", services); if (!this.util.isNullOrEmpty(services)) { let bindings = this.util.parseServices(services); + console.log("bindinds", bindings); for (const binding in bindings) { let bindingName = `${containerAppName}-${addOn}-${binding}`; yield this.addOnHelper.createAddOnService(addOn, bindingName, resourceGroup, environment);