mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/persistentqueue: typo fix after aea6df8197
This commit is contained in:
parent
aea6df8197
commit
7048a316aa
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func (fq *FastQueue) MustReadBlock(dst []byte) ([]byte, bool) {
|
|||
}
|
||||
}
|
||||
|
||||
// Dir returns the directory for persistent queue.
|
||||
// Dirname returns the directory name for persistent queue.
|
||||
func (fq *FastQueue) Dirname() string {
|
||||
return filepath.Base(fq.pq.dir)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue