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 committed by Aliaksandr Valialkin
parent 4f876ada0e
commit 91e365acb6
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

View File

@ -257,7 +257,7 @@ func mustOpenPartition(smallPartsPath, bigPartsPath string, s *Storage) *partiti
name := filepath.Base(smallPartsPath)
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)