Skip to content

Commit

Permalink
Fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
i-hate-nicknames committed May 6, 2021
1 parent e23b747 commit 9f569de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/visor/logstore/logstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9f569de

Please sign in to comment.