From 322af1fc0477c66c748d0e1f2195ad5bee5821a5 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 23 Sep 2023 12:13:32 -0700 Subject: [PATCH] fix compilation --- weed/util/lock_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/util/lock_table.go b/weed/util/lock_table.go index 24a500caf..b27104a11 100644 --- a/weed/util/lock_table.go +++ b/weed/util/lock_table.go @@ -61,7 +61,7 @@ func (lt *LockTable[T]) AcquireLock(intention string, key T, lockType LockType) } lt.mu.Unlock() - lock = lt.NewActiveLock(intention) + lock = lt.NewActiveLock(intention, lockType) // If the lock is held exclusively, wait entry.mu.Lock()