mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 21:25:52 -05: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