Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
hieblmi committed May 3, 2024
1 parent 2a3b3bd commit 332f1ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/models/fwdinghist.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package models

import (
"github.com/google/martian/log"
"sort"
"sync"

Expand Down Expand Up @@ -67,6 +68,7 @@ func (t *FwdingHist) Update(events []*models.ForwardingEvent) {
defer t.mu.Unlock()
t.Clear()
for _, event := range events {
log.Debugf("update forwarding event: %v", event)
t.list = append(t.list, event)
}
}

0 comments on commit 332f1ad

Please sign in to comment.