mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Call MarkHostSeen from authenticate host (#881)
This commit is contained in:
parent
242ee30531
commit
c2084026d1
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ func (svc service) AuthenticateHost(ctx context.Context, nodeKey string) (*kolid
|
|||
nodeInvalid: true,
|
||||
}
|
||||
}
|
||||
err = svc.ds.MarkHostSeen(host, svc.clock.Now())
|
||||
if err != nil {
|
||||
return nil, osqueryError{message: "failed to make host seen: " + err.Error()}
|
||||
}
|
||||
return host, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue