mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: fix typo
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
c160a49908
commit
e96b4410a1
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ func mustOpenPartition(smallPartsPath, bigPartsPath string, s *Storage) *partiti
|
||||||
|
|
||||||
name := filepath.Base(smallPartsPath)
|
name := filepath.Base(smallPartsPath)
|
||||||
if !strings.HasSuffix(bigPartsPath, name) {
|
if !strings.HasSuffix(bigPartsPath, name) {
|
||||||
logger.Panicf("FATAL: patititon name in bigPartsPath %q doesn't match smallPartsPath %q; want %q", bigPartsPath, smallPartsPath, name)
|
logger.Panicf("FATAL: partition name in bigPartsPath %q doesn't match smallPartsPath %q; want %q", bigPartsPath, smallPartsPath, name)
|
||||||
}
|
}
|
||||||
|
|
||||||
partNamesSmall, partNamesBig := mustReadPartNames(smallPartsPath, bigPartsPath)
|
partNamesSmall, partNamesBig := mustReadPartNames(smallPartsPath, bigPartsPath)
|
||||||
|
|
Loading…
Reference in a new issue