Namespaces are no longer a pointer

This commit is contained in:
Kristoffer Dalby 2021-11-04 22:15:46 +00:00
parent 95690e614e
commit 5526ccc696

View File

@ -144,7 +144,7 @@ func (h *Headscale) scheduledDERPMapUpdateWorker(cancelChan <-chan struct{}) {
Msg("Failed to fetch namespaces") Msg("Failed to fetch namespaces")
} }
for _, namespace := range *namespaces { for _, namespace := range namespaces {
h.setLastStateChangeToNow(namespace.Name) h.setLastStateChangeToNow(namespace.Name)
} }
} }