task v2 refactor part 6 - observer_cruise_id -> task_v2_id (#1817)
This commit is contained in:
@@ -32,8 +32,8 @@ def add_kv_pairs_to_msg(logger: logging.Logger, method_name: str, event_dict: Ev
|
||||
event_dict["workflow_id"] = context.workflow_id
|
||||
if context.workflow_run_id:
|
||||
event_dict["workflow_run_id"] = context.workflow_run_id
|
||||
if context.observer_cruise_id:
|
||||
event_dict["observer_cruise_id"] = context.observer_cruise_id
|
||||
if context.task_v2_id:
|
||||
event_dict["task_v2_id"] = context.task_v2_id
|
||||
|
||||
# Add env to the log
|
||||
event_dict["env"] = settings.ENV
|
||||
|
||||
Reference in New Issue
Block a user