Skip to content

Commit

Permalink
Log log log
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkma committed Apr 29, 2024
1 parent f00dfe7 commit 2ac2ad7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions azurecontainerapps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,13 @@ export class azurecontainerapps {
private static async createAddOnServices(containerAppName: string, resourceGroup: string, environment: string): Promise<string[]> {
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)
Expand Down
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2ac2ad7

Please sign in to comment.