Skip to content

Commit 015461a

Browse files
fixed the copilot review comments
1 parent 4c66aa8 commit 015461a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

infra/modules/container-instance.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ param environmentVariables array
3131
@description('Optional. Enable telemetry.')
3232
param enableTelemetry bool = true
3333

34-
@description('Optional. User-assigned managed identity resource ID for ACR pull.')
35-
param userAssignedIdentityResourceId string = ''
34+
@description('Required. User-assigned managed identity resource ID for ACR pull.')
35+
param userAssignedIdentityResourceId string
3636

3737
var isPrivateNetworking = !empty(subnetResourceId)
3838

scripts/post_deploy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ async def check_admin_api_health(config: ResourceConfig) -> bool:
255255
headers=get_api_headers(config)
256256
)
257257
if response.status_code == 200:
258-
data = response.json()
259-
print_success(f"Admin API healthy (API key required: {data.get('api_key_required', False)})")
258+
print_success("Admin API is healthy")
260259
return True
261260
else:
262261
print_error(f"Admin API returned {response.status_code}")

0 commit comments

Comments
 (0)