diff --git a/pkg/daemon/server/service/rater/uniq_str_list.go b/pkg/daemon/server/service/rater/uniq_str_list.go index 599feff992..2131c5107e 100644 --- a/pkg/daemon/server/service/rater/uniq_str_list.go +++ b/pkg/daemon/server/service/rater/uniq_str_list.go @@ -59,7 +59,7 @@ func (l *UniqueStringList) MoveToBack(value string) { func (l *UniqueStringList) Front() string { l.lock.RLock() defer l.lock.RUnlock() - if l.Length() == 0 { + if l.l.Len() == 0 { return "" } return l.l.Front().Value.(string)