Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
Signed-off-by: Jimil Desai <[email protected]>
  • Loading branch information
jimil749 committed Jan 16, 2024
1 parent 487729d commit c5a29aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def backup(bucket_name):

# list all running "backup" jobs
# get the jobs by parent id
running_jobs = [job for job in jobs if job.status.active is not None and job.metadata.owner_references and job.metadata.owner_references[0].name == os.environ["PARENT_NAME"]
running_jobs = [job for job in jobs if job.status.active is not None and job.metadata.owner_references and job.metadata.owner_references[0].name == os.environ["PARENT_NAME"]]
print("running jobs: ")
for j in running_jobs:
print(j.metadata.name)
Expand Down

0 comments on commit c5a29aa

Please sign in to comment.