Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix status issue #502

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions source/lambda/pipeline_monitor/pipeline_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def post_model_deployment(event, context):
)
logger.info(
f"Execution details: {json.dumps(execution_details, default=str)}")
status = execution_details["pipelineExecution"]["status"]
variables = execution_details["pipelineExecution"]["variables"]
group_name = None
model_id = None
Expand All @@ -88,6 +87,6 @@ def post_model_deployment(event, context):
"Unable to find group name or model id in pipeline variables")
return

update_pipeline_status(group_name, model_id, status)
update_pipeline_status(group_name, model_id, pipeline_state)
except Exception as e:
logger.error(f"Error updating pipeline execution details: {str(e)}")
Loading