diff --git a/entity/result.go b/entity/result.go index b7a2e15..ae3d017 100644 --- a/entity/result.go +++ b/entity/result.go @@ -27,9 +27,7 @@ func (r *Results) UnmarshalMsgpack(b []byte) error { func (r *Results) Add(result Result) { r.mu.Lock() - results := r.results - results = append(results, result) - r.results = results + r.results = append(r.results, result) r.mu.Unlock() }