Skip to content

Commit b59ea08

Browse files
committed
chore: log action filter parameters for job events
Log the parameters used to filter job events by action to improve traceability and debugging. Signed-off-by: Michael Adler <[email protected]>
1 parent 26b4360 commit b59ea08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/handler/job/events/events.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ func AddSubscriber(ctx context.Context, graceInterval time.Duration, filter Filt
106106
Dict("filterParams", zerolog.Dict().
107107
Strs("clientIDs", filter.ClientIDs).
108108
Strs("jobIDs", filter.JobIDs).
109-
Strs("workflows", filter.Workflows)).
109+
Strs("workflows", filter.Workflows).
110+
Interface("actions", filter.Actions)).
110111
Strs("tags", tags).
111112
Msg("Adding new subscriber for job events")
112113

0 commit comments

Comments
 (0)