Skip to content

Commit

Permalink
Add prefix to job name label
Browse files Browse the repository at this point in the history
  • Loading branch information
Emile-Filteau committed Oct 18, 2024
1 parent e22f4bb commit 8c09df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/saturn_engine/worker_manager/config/declarative_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def to_core_objects(
),
labels=dict(
{
"job-definition-name": name,
"internal.job-definition-name": name,
},
**labels,
),
Expand Down
2 changes: 1 addition & 1 deletion tests/worker_manager/api/test_job_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_api_job_definitions_loaded_from_str(
},
"labels": {
"owner": "team-saturn",
"job-definition-name": "test-job-definition",
"internal.job-definition-name": "test-job-definition",
},
"config": {
"tracer": {
Expand Down

0 comments on commit 8c09df2

Please sign in to comment.