From e22335ba78403585cb094aadb2ece2eba3610543 Mon Sep 17 00:00:00 2001 From: Ryan Russell Date: Wed, 14 Sep 2022 12:12:45 -0500 Subject: [PATCH] refactor(queue_unbounded): `inbountLen` -> `inboundLen` (#3666) --- weed/util/queue_unbounded.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/util/queue_unbounded.go b/weed/util/queue_unbounded.go index 496b9f844..81ab69185 100644 --- a/weed/util/queue_unbounded.go +++ b/weed/util/queue_unbounded.go @@ -28,8 +28,8 @@ func (q *UnboundedQueue) Consume(fn func([]string)) { if len(q.outbound) == 0 { q.inboundLock.Lock() - inbountLen := len(q.inbound) - if inbountLen > 0 { + inboundLen := len(q.inbound) + if inboundLen > 0 { t := q.outbound q.outbound = q.inbound q.inbound = t