From d60b991b6f8ba81e4d9003c06d72bf3b2fc2d4de Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 18 May 2021 19:45:04 -0700 Subject: [PATCH] sidecar: insert missing continue during auto sidecar restart A continue was missing that would cause the loop to panic below as in certain cases the recipient isn't yet present (provider just restarted). --- sidecar_acceptor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sidecar_acceptor.go b/sidecar_acceptor.go index c1ef9a6..2ce6cf1 100644 --- a/sidecar_acceptor.go +++ b/sidecar_acceptor.go @@ -174,6 +174,8 @@ func (a *SidecarAcceptor) Start(errChan chan error) error { "for sidecar: %w", err) } + continue + // If the ticket has no recipient or isn't in the expecting // state, then we can safely skip it. case ticket.State != sidecar.StateExpectingChannel: