From 7048a316aafbc8c0d8a8daa3b52ef86d83bc55a8 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 27 Mar 2023 20:05:38 -0700 Subject: [PATCH] lib/persistentqueue: typo fix after aea6df81974ae2ead680c7f28007add57e4c5a3f --- lib/persistentqueue/fastqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }