Skip to content

Commit

Permalink
Apply black, isort, and autoflake formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 26, 2024
1 parent aaacd2d commit 30fc575
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kubejobs/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ def generate_yaml(self):
job["spec"]["template"]["spec"]["volumes"].append(volume)

if self.image_pull_secret:
job["spec"]["template"]["spec"]["imagePullSecrets"] = [{
"name": self.image_pull_secret
}]
job["spec"]["template"]["spec"]["imagePullSecrets"] = [
{"name": self.image_pull_secret}
]

return yaml.dump(job)

Expand Down

0 comments on commit 30fc575

Please sign in to comment.