From 5526ccc6969311e08e30ad5f7ded369c0ef1edf9 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Thu, 4 Nov 2021 22:15:46 +0000 Subject: [PATCH] Namespaces are no longer a pointer --- derp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/derp.go b/derp.go index 39e63210..7f65832c 100644 --- a/derp.go +++ b/derp.go @@ -144,7 +144,7 @@ func (h *Headscale) scheduledDERPMapUpdateWorker(cancelChan <-chan struct{}) { Msg("Failed to fetch namespaces") } - for _, namespace := range *namespaces { + for _, namespace := range namespaces { h.setLastStateChangeToNow(namespace.Name) } }