aboutsummaryrefslogtreecommitdiffstats
path: root/syz-hub/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'syz-hub/http.go')
-rw-r--r--syz-hub/http.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syz-hub/http.go b/syz-hub/http.go
index 026219be1..b2fb0c12e 100644
--- a/syz-hub/http.go
+++ b/syz-hub/http.go
@@ -37,7 +37,7 @@ func (hub *Hub) httpSummary(w http.ResponseWriter, r *http.Request) {
}
total := UIManager{
Name: "total",
- Corpus: len(hub.st.Corpus),
+ Corpus: len(hub.st.Corpus.Records),
}
for name, mgr := range hub.st.Managers {
total.Added += mgr.Added
@@ -45,7 +45,7 @@ func (hub *Hub) httpSummary(w http.ResponseWriter, r *http.Request) {
total.New += mgr.New
data.Managers = append(data.Managers, UIManager{
Name: name,
- Corpus: len(mgr.Corpus),
+ Corpus: len(mgr.Corpus.Records),
Added: mgr.Added,
Deleted: mgr.Deleted,
New: mgr.New,