Skip to content

Commit 48a97a0

Browse files
committed
Fixed tests
1 parent 58f176b commit 48a97a0

File tree

3 files changed

+171
-168
lines changed

3 files changed

+171
-168
lines changed

src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,10 @@ private async Task ProcessArgumentsAsync(CancellationToken cancellationToken)
396396
{
397397
if (resource.TryGetAnnotationsOfType<CommandLineArgsCallbackAnnotation>(out var commandLineArgsCallbackAnnotations))
398398
{
399-
var context = new CommandLineArgsCallbackContext(Args, cancellationToken: cancellationToken);
399+
var context = new CommandLineArgsCallbackContext(Args, cancellationToken: cancellationToken)
400+
{
401+
ExecutionContext = _containerAppEnvironmentContext.ExecutionContext,
402+
};
400403

401404
foreach (var c in commandLineArgsCallbackAnnotations)
402405
{

0 commit comments

Comments
 (0)