Skip to content

Commit

Permalink
Fix active hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
mike76-dev committed Mar 18, 2024
1 parent a8ba463 commit 936b9f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/hsc/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func (api *portalAPI) insertUpdates(node string, updates hostdb.HostUpdates) err
ScanHistory: h.ScanHistory,
LastBenchmark: h.LastBenchmark,
LastSeen: h.LastSeen,
ActiveHosts: h.ActiveHosts,
HostInteractions: hostdb.HostInteractions{
HistoricSuccesses: h.Interactions.HistoricSuccesses,
HistoricFailures: h.Interactions.HistoricFailures,
Expand Down Expand Up @@ -244,6 +245,7 @@ func (api *portalAPI) insertUpdates(node string, updates hostdb.HostUpdates) err
ScanHistory: h.ScanHistory,
LastBenchmark: h.LastBenchmark,
LastSeen: h.LastSeen,
ActiveHosts: h.ActiveHosts,
HostInteractions: hostdb.HostInteractions{
HistoricSuccesses: h.Interactions.HistoricSuccesses,
HistoricFailures: h.Interactions.HistoricFailures,
Expand Down

0 comments on commit 936b9f1

Please sign in to comment.