Skip to content

Commit

Permalink
Document healthchecking behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Dec 5, 2024
1 parent 80cbb68 commit 9246858
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ee/agent/knapsack/knapsack.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func (k *knapsack) SetInstanceQuerier(q types.InstanceQuerier) {
k.querier = q
}

// InstanceStatuses returns the current status of each osquery instance.
// It performs a healthcheck against each existing instance.
func (k *knapsack) InstanceStatuses() map[string]types.InstanceStatus {
if k.querier == nil {
return nil
Expand Down

0 comments on commit 9246858

Please sign in to comment.