From 059f13fc9d8db9066c850433f5cb611746d17338 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 23 Aug 2021 07:38:14 +0100 Subject: [PATCH] Add missing comment for stream function --- poll.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/poll.go b/poll.go index fdf522cd..bea16164 100644 --- a/poll.go +++ b/poll.go @@ -188,6 +188,9 @@ func (h *Headscale) PollNetMapHandler(c *gin.Context) { Msg("Finished stream, closing PollNetMap session") } +// PollNetMapStream takes care of /machine/:id/map +// stream logic, ensuring we communicate updates and data +// to the connected clients. func (h *Headscale) PollNetMapStream( c *gin.Context, m Machine,