From 9f569de5a58ac9181e16f9fb030ab259b1d1987a Mon Sep 17 00:00:00 2001 From: Never M Date: Thu, 6 May 2021 14:29:20 +0300 Subject: [PATCH] Fix spelling errors --- pkg/visor/logstore/logstore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/visor/logstore/logstore.go b/pkg/visor/logstore/logstore.go index f1944d303e..c9e06438a7 100644 --- a/pkg/visor/logstore/logstore.go +++ b/pkg/visor/logstore/logstore.go @@ -4,7 +4,7 @@ import ( "github.com/sirupsen/logrus" ) -// LogRealLineKey is a key in the log enry that denote real log line number +// LogRealLineKey is a key in the log entry that denotes real log line number // in the total log (not limited by capacity of runtime log store) const LogRealLineKey = "log_line" @@ -47,7 +47,7 @@ func (s *store) collectLogs(from, to int64) []string { return logs } -// GetLogs returns most resent log lines (up to cap log lines is stored) +// GetLogs returns most recent log lines (up to cap log lines is stored func (s *store) GetLogs() ([]string, int64) { if s.entryNum < s.cap { return s.collectLogs(0, s.entryNum), 0