Skip to content

Commit c0503e9

Browse files
committed
Fix: render scheduled jobs secrets
1 parent 2477210 commit c0503e9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

internal/coordinator/handlers/schedule.go

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,14 @@ func (h *jobSchedulerHandler) handleActive(ctx context.Context, sj *tork.Schedul
126126
Tasks: s.Tasks,
127127
Inputs: s.Inputs,
128128
Secrets: s.Secrets,
129-
Context: tork.JobContext{Inputs: s.Inputs},
130-
TaskCount: len(s.Tasks),
131-
Output: s.Output,
132-
Webhooks: s.Webhooks,
133-
AutoDelete: s.AutoDelete,
129+
Context: tork.JobContext{
130+
Inputs: s.Inputs,
131+
Secrets: s.Secrets,
132+
},
133+
TaskCount: len(s.Tasks),
134+
Output: s.Output,
135+
Webhooks: s.Webhooks,
136+
AutoDelete: s.AutoDelete,
134137
Schedule: &tork.JobSchedule{
135138
ID: s.ID,
136139
Cron: s.Cron,

0 commit comments

Comments
 (0)