Skip to content

Commit 063ff3b

Browse files
CopilotnturinskiMicroFish91
authored
Fix activity log wording to include ingress visibility (external/internal) (#958)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com> Co-authored-by: MicroFish91 <40250218+MicroFish91@users.noreply.github.com>
1 parent bf6908c commit 063ff3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)