mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
Namespaces are no longer a pointer
This commit is contained in:
parent
95690e614e
commit
5526ccc696
2
derp.go
2
derp.go
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user