Skip to content

Commit efcd9d5

Browse files
Copilotnturinski
andcommitted
Fix activity log wording to include visibility (external/internal)
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
1 parent dfc4391 commit efcd9d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let perfStats = {
1616

1717
Object.defineProperty(exports, "__esModule", { value: true });
1818

19-
const extension = require('./out/src/extension');
19+
const extension = require('./dist/extension.bundle');
2020

2121
async function activate(ctx) {
2222
return await extension.activate(ctx, perfStats, true /*ignoreBundle*/);

src/commands/ingress/enableIngress/enableIngress.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export async function enableIngress(context: IActionContext, node?: ContainerApp
3737
});
3838

3939
await wizard.prompt();
40-
wizardContext.activityTitle = localize('enableIngress', 'Enable ingress on port {0} for container app "{1}"', wizardContext.targetPort, containerApp.name);
40+
const visibility: string = wizardContext.enableExternal ? localize('external', 'external') : localize('internal', 'internal');
41+
wizardContext.activityTitle = localize('enableIngressWithVisibility', 'Enable {0} ingress on port {1} for container app "{2}"', visibility, wizardContext.targetPort, containerApp.name);
4142
await wizard.execute();
4243

4344
ext.state.notifyChildrenChanged(containerApp.managedEnvironmentId);

0 commit comments

Comments
 (0)