mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
Call MarkHostSeen from authenticate host (#881)
This commit is contained in:
parent
242ee30531
commit
c2084026d1
@ -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 New Issue
Block a user