mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
lib/persistentqueue: typo fix after aea6df8197
This commit is contained in:
parent
6f5bbf096a
commit
fd7efad69f
@ -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 New Issue
Block a user