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
5d1ce9891b
commit
d493da562e
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ func (ph *partHeader) MustWriteMetadata(partPath string) {
|
||||||
}
|
}
|
||||||
metadataPath := filepath.Join(partPath, metadataFilename)
|
metadataPath := filepath.Join(partPath, metadataFilename)
|
||||||
// There is no need in calling fs.MustWriteAtomic() here,
|
// There is no need in calling fs.MustWriteAtomic() here,
|
||||||
// since the file is created only once during part creatinng
|
// since the file is created only once during part creating
|
||||||
// and the part directory is synced aftewards.
|
// and the part directory is synced afterwards.
|
||||||
fs.MustWriteSync(metadataPath, metadata)
|
fs.MustWriteSync(metadataPath, metadata)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue