Skip to content

Commit

Permalink
Test container app creation with up
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapar9 committed Nov 7, 2023
1 parent 8f4224e commit 4afc10e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azurecontainerapps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export class azurecontainerapps {
if (!this.util.isNullOrEmpty(this.yamlConfigPath)) {
// Create the Container App from the YAML configuration file
await this.appHelper.createContainerAppFromYaml(this.containerAppName, this.resourceGroup, this.yamlConfigPath);
} else if ((!this.util.isNullOrEmpty(this.appSourcePath) && this.useInternalRegistry)) {
} else if ((!this.util.isNullOrEmpty(this.appSourcePath) && this.useCliToBuildAndPushImage)) {
await this.appHelper.createContainerAppWithUp(this.containerAppName, this.resourceGroup, this.containerAppEnvironment, this.commandLineArgs);
} else {
// Create the Container App from command line arguments
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ var azurecontainerapps = /** @class */ (function () {
_a.sent();
return [3 /*break*/, 6];
case 2:
if (!(!this.util.isNullOrEmpty(this.appSourcePath) && this.useInternalRegistry)) return [3 /*break*/, 4];
if (!(!this.util.isNullOrEmpty(this.appSourcePath) && this.useCliToBuildAndPushImage)) return [3 /*break*/, 4];
return [4 /*yield*/, this.appHelper.createContainerAppWithUp(this.containerAppName, this.resourceGroup, this.containerAppEnvironment, this.commandLineArgs)];
case 3:
_a.sent();
Expand Down

0 comments on commit 4afc10e

Please sign in to comment.