Skip to content

Commit

Permalink
fix: es ligger under requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrremann authored Feb 28, 2024
1 parent 50b4c16 commit 76db39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataverk_airflow/kubernetes_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def on_failure(context):
allowlist.append("files.pythonhosted.org")
allowlist.append("pypi.python.org")

if resources is None or resources.ephemeral_storage is None:
if resources is None or resources.requests is None or resources.requests.ephemeral_storage is None:
resources = client.V1ResourceRequirements(
requests={
"ephemeral-storage": "100Mi",
Expand Down

0 comments on commit 76db39d

Please sign in to comment.