Skip to content

Commit f3f30f7

Browse files
committed
Refactor AI Foundry AI Services module: simplify aiServicesName assignment by removing conditional check
1 parent b9b8f24 commit f3f30f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ module aiFoundryAiServicesProject 'modules/ai-project.bicep' = if (!useExistingA
11261126
tags: tags
11271127
desc: aiFoundryAiProjectDescription
11281128
//Implicit dependencies below
1129-
aiServicesName: useExistingAiFoundryAiProject ? existingAiFoundryAiServices.name : aiFoundryAiServices!.outputs.name
1129+
aiServicesName: aiFoundryAiServices!.outputs.name
11301130
}
11311131
}
11321132

0 commit comments

Comments
 (0)