Skip to content

Commit 3f5620c

Browse files
kruskallrockdaboot
andauthored
Apply suggestions from code review
Co-authored-by: Tim Rühsen <[email protected]>
1 parent d21db94 commit 3f5620c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logsapi/event.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ func (lc *Client) ProcessLogs(
6262
ctx context.Context,
6363
requestID string,
6464
invokedFnArn string,
65-
forwarFn Forwarder,
65+
forwardFn Forwarder,
6666
isShutdown bool,
6767
) {
6868
for {
6969
select {
7070
case logEvent := <-lc.logsChannel:
71-
if shouldExit := lc.handleEvent(ctx, logEvent, requestID, invokedFnArn, forwarFn, isShutdown); shouldExit {
71+
if shouldExit := lc.handleEvent(ctx, logEvent, requestID, invokedFnArn, forwardFn, isShutdown); shouldExit {
7272
return
7373
}
7474
case <-ctx.Done():

0 commit comments

Comments
 (0)