1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

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")
}
for _, namespace := range *namespaces {
for _, namespace := range namespaces {
h.setLastStateChangeToNow(namespace.Name)
}
}