Skip to content

Commit

Permalink
feat: replace EachSequential with ForEach (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutimantri authored Nov 18, 2024
1 parent da615e3 commit 4222c43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/io/kestra/plugin/aws/s3/Trigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
tasks:
- id: each
type: io.kestra.plugin.core.flow.EachSequential
type: io.kestra.plugin.core.flow.ForEach
values: "{{ trigger.objects | jq('.[].uri') }}"
tasks:
- id: return
type: io.kestra.plugin.core.debug.Return
format: "{{ taskrun.value }}"
value: "{{ trigger.objects | jq('.[].uri') }}"
triggers:
- id: watch
Expand All @@ -74,7 +74,8 @@
tasks:
- id: each
type: io.kestra.plugin.core.flow.EachSequential
type: io.kestra.plugin.core.flow.ForEach
values: "{{ trigger.objects | jq('.[].key') }}"
tasks:
- id: return
type: io.kestra.plugin.core.debug.Return
Expand All @@ -87,7 +88,6 @@
region: "eu-central-1"
bucket: "my-bucket"
key: "{{ taskrun.value }}"
value: "{{ trigger.objects | jq('.[].key') }}"
triggers:
- id: watch
Expand Down

0 comments on commit 4222c43

Please sign in to comment.