Skip to content

Commit

Permalink
try different syntax based on argoproj/argo-workflows#860
Browse files Browse the repository at this point in the history
  • Loading branch information
raaidbroad committed Sep 11, 2020
1 parent f4dc147 commit 4fffd37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions orchestration/templates/export-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
- name: date-absent
dependencies: [is-preceding-date-present]
{{- if $versionIsPinned }}
when: {{ and $dateAbsent $processingNeeded | quote }}
when: "{{ ($dateAbsent) && ($processingNeeded) }}"
{{- else }}
when: {{ $dateAbsent | quote }}
{{- end }}
Expand Down Expand Up @@ -102,7 +102,7 @@ spec:
template: get-preceding-date
dependencies: [is-preceding-date-present]
{{- if $versionIsPinned }}
when: {{ and $datePresent $processingNeeded | quote }}
when: "{{ ($datePresent) && ($processingNeeded) }}"
{{- else }}
when: {{ $datePresent | quote }}
{{- end }}
Expand All @@ -118,7 +118,7 @@ spec:
- name: date-present
dependencies: [get-preceding-date]
{{- if $versionIsPinned }}
when: {{ and $datePresent $processingNeeded | quote }}
when: "{{ ($datePresent) && ($processingNeeded) }}"
{{- else }}
when: {{ $datePresent | quote }}
{{- end }}
Expand Down

0 comments on commit 4fffd37

Please sign in to comment.