Update machine.go
This commit is contained in:
parent
e4f197b709
commit
06f56411dd
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,8 @@ func (m *Machine) GetHostInfo() (*tailcfg.Hostinfo, error) {
|
||||||
func (h *Headscale) isOutdated(m *Machine) bool {
|
func (h *Headscale) isOutdated(m *Machine) bool {
|
||||||
err := h.UpdateMachine(m)
|
err := h.UpdateMachine(m)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
// It does not seem meaningful to propagate this error as the end result
|
||||||
|
// will have to be that the machine has to be considered outdated.
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue