Add and fix ifshort
This commit is contained in:
parent
9390348a65
commit
796072a5a4
6 changed files with 5 additions and 11 deletions
|
@ -331,8 +331,7 @@ func (m *Machine) GetHostInfo() (*tailcfg.Hostinfo, error) {
|
|||
}
|
||||
|
||||
func (h *Headscale) isOutdated(m *Machine) bool {
|
||||
err := h.UpdateMachine(m)
|
||||
if err != nil {
|
||||
if err := h.UpdateMachine(m); 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue