Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Skye Gill <gill.skye95@gmail.com>
  • Loading branch information
skyerus committed Nov 23, 2022
1 parent f3ddc0d commit 55cbe0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/service/connect_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,10 @@ func (s *ConnectService) EventStream(
requestNotificationChan <- Notification{
Type: ProviderReady,
}
ticker := time.NewTicker(20 * time.Second)
for {
select {
case <-time.Tick(20 * time.Second):
case <-ticker.C:
err := stream.Send(&schemaV1.EventStreamResponse{
Type: string(KeepAlive),
})
Expand Down

0 comments on commit 55cbe0c

Please sign in to comment.