From 67d1dd984f575c3b4b73d96ff7ce5b1899b730d3 Mon Sep 17 00:00:00 2001 From: Ryan Fowler Date: Fri, 21 Jan 2022 21:48:58 -0800 Subject: [PATCH] Fix missing return in PollNetMapHandler --- poll.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poll.go b/poll.go index 1d2db944..10389038 100644 --- a/poll.go +++ b/poll.go @@ -74,6 +74,8 @@ func (h *Headscale) PollNetMapHandler(ctx *gin.Context) { Str("handler", "PollNetMap"). Msgf("Failed to fetch machine from the database with Machine key: %s", machineKey.String()) ctx.String(http.StatusInternalServerError, "") + + return } log.Trace(). Str("handler", "PollNetMap").