mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-07 23:52:13 -04:00
Merge pull request #6596 from fenggw-fnst/work
Fix typo in comment for func AddPadding
This commit is contained in:
commit
ab8748d0e0
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ func (fw *FileWriter) WriteAt(buf []byte, pos uint64) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// addPadding adds zero byte padding until the file size is a multiple size.
|
||||
// AddPadding adds zero byte padding until the file size is a multiple size.
|
||||
func (fw *FileWriter) AddPadding(size int) error {
|
||||
p := fw.pos % uint64(size)
|
||||
if p == 0 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue