lib/storage: fix typo

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2023-11-21 10:52:53 +01:00
parent c160a49908
commit e96b4410a1
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -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)