mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
fix a few typos
This commit is contained in:
parent
9e458aecd5
commit
b039747887
3 changed files with 3 additions and 3 deletions
2
cache.go
2
cache.go
|
|
@ -215,7 +215,7 @@ func (c *RankCache) IDs() []uint64 {
|
|||
return a
|
||||
}
|
||||
|
||||
// Invalidate recalculates the the entries by rank.
|
||||
// Invalidate recalculates the entries by rank.
|
||||
func (c *RankCache) Invalidate() {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ func (d *Diagnostics) CompareVersion(value string) error {
|
|||
} else if localVersion[1] < currentVersion[1] { // Minor
|
||||
return fmt.Errorf("Warning: You are running Pilosa %s. The latest Minor release is %s: https://github.com/pilosa/pilosa/releases", d.version, value)
|
||||
} else if localVersion[2] < currentVersion[2] { // Patch
|
||||
return fmt.Errorf("There is a new patch release of Pilosa availbale: %s: https://github.com/pilosa/pilosa/releases", value)
|
||||
return fmt.Errorf("There is a new patch release of Pilosa available: %s: https://github.com/pilosa/pilosa/releases", value)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@ func (s *Server) checkMaxSlices(scheme string, hostPort string) (map[string]uint
|
|||
return s.defaultClient.MaxSliceByIndex(ctx)
|
||||
}
|
||||
|
||||
// monitorDiagnostics periodically polls the the Pilosa Indexes for cluster info.
|
||||
// monitorDiagnostics periodically polls the Pilosa Indexes for cluster info.
|
||||
func (s *Server) monitorDiagnostics() {
|
||||
if s.DiagnosticInterval <= 0 {
|
||||
s.Logger().Printf("diagnostics disabled")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue