Skip to content

Commit

Permalink
Update dags_airflow_fede_k8sexecutor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
leggerf authored Jan 26, 2024
1 parent 0ebe12a commit dad92a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dags_airflow_fede_k8sexecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ def test_volume_mount():
with open("/foo/volume_mount_test.txt", "w+") as foo:
foo.write("Hello")
except Exception:
log.error(
"Cannot open file /foo/volume_mount_test.txt"
)
log.error("Cannot open file /foo/volume_mount_test.txt")

return_code = os.system("cat /foo/volume_mount_test.txt")
if return_code != 0:
raise ValueError(
Expand Down

0 comments on commit dad92a9

Please sign in to comment.