From c67f06956e71a1514e8a0c07d1638e15d38747e8 Mon Sep 17 00:00:00 2001 From: Murat Kabilov Date: Tue, 26 Sep 2017 13:12:38 +0200 Subject: [PATCH] fix comments for ringlogger --- pkg/util/ringlog/ringlog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/util/ringlog/ringlog.go b/pkg/util/ringlog/ringlog.go index 1c26ce3ba..14cc19714 100644 --- a/pkg/util/ringlog/ringlog.go +++ b/pkg/util/ringlog/ringlog.go @@ -28,7 +28,7 @@ func New(size int) *RingLog { return &r } -// Insert inserts new LogEntry into the ring logger +// Insert inserts new entry into the ring logger func (r *RingLog) Insert(obj interface{}) { r.Lock() defer r.Unlock() @@ -39,7 +39,7 @@ func (r *RingLog) Insert(obj interface{}) { } } -// Walk dumps all the LogEntries from the Ring logger +// Walk dumps all the entries from the Ring logger func (r *RingLog) Walk() []interface{} { res := make([]interface{}, 0)