Make lastStateChange namespaced
This commit is contained in:
parent
48ef6e5a6f
commit
b0ec945dbb
3 changed files with 24 additions and 24 deletions
|
@ -320,7 +320,7 @@ func (h *Headscale) isOutdated(m *Machine) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
lastChange := h.getLastStateChange()
|
||||
lastChange := h.getLastStateChange(m.Namespace.Name)
|
||||
log.Trace().
|
||||
Str("func", "keepAlive").
|
||||
Str("machine", m.Name).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue