diff --git a/lib/persistentqueue/fastqueue.go b/lib/persistentqueue/fastqueue.go index 23d4c2625..77cfe38f3 100644 --- a/lib/persistentqueue/fastqueue.go +++ b/lib/persistentqueue/fastqueue.go @@ -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) }