lib/storage: fix typo

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2023-11-21 11:20:43 +01:00 committed by Aliaksandr Valialkin
parent d8aceda5fd
commit ae6152be5f
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -173,7 +173,7 @@ func (ph *partHeader) MustWriteMetadata(partPath string) {
}
metadataPath := filepath.Join(partPath, metadataFilename)
// There is no need in calling fs.MustWriteAtomic() here,
// since the file is created only once during part creatinng
// and the part directory is synced aftewards.
// since the file is created only once during part creating
// and the part directory is synced afterwards.
fs.MustWriteSync(metadataPath, metadata)
}