Skip to content

Commit

Permalink
🎨 Format - ran black
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Dec 11, 2023
1 parent c19bcb7 commit 0ab8b58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agenta-backend/agenta_backend/routers/variants_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,7 @@ async def retrieve_variant_logs(variant_id: str, request: Request):
app_variant = await db_manager.get_app_variant_instance_by_id(variant_id)
deployment = await db_manager.get_deployment_by_appId(str(app_variant.app.id))
try:
logs_result = logs_manager.retrieve_cloudwatch_logs(
deployment.container_name
)
logs_result = logs_manager.retrieve_cloudwatch_logs(deployment.container_name)
except Exception as exc:
raise HTTPException(500, {"message": str(exc)})
return logs_result

0 comments on commit 0ab8b58

Please sign in to comment.