Skip to content

Commit

Permalink
Merge pull request #222 from lsst-sqre/tickets/DM-41820
Browse files Browse the repository at this point in the history
DM-41820: Fix annotations on Pod created from Job
  • Loading branch information
rra authored Nov 21, 2023
2 parents b12fd22 + a5efb24 commit 35a940a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/safir/testing/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ async def create_namespaced_job(
if source.labels:
metadata.labels = source.labels.copy()
if source.annotations:
metadata.annnotations = source.annotations.copy()
metadata.annotations = source.annotations.copy()
pod = V1Pod(metadata=metadata, spec=body.spec.template.spec)
if not pod.metadata.name:
if not pod.metadata.generate_name:
Expand Down

0 comments on commit 35a940a

Please sign in to comment.