From a9b40db0de42903a70adbe299e57da500a194e81 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 11 Jul 2023 17:22:14 -0600 Subject: [PATCH] Fixed typo in log --- lockable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lockable.go b/lockable.go index 8226254..d1f156d 100644 --- a/lockable.go +++ b/lockable.go @@ -448,7 +448,7 @@ func LockLockables(ctx * Context, to_lock []Lockable, new_owner Lockable, nodes new_owner.RecordLock(req, old_owner) // Otherwise if the new owner already owns it, no need to update state } else if old_owner.ID() == new_owner.ID() { - ctx.Log.Logf("lockable", "LOCKABLE_LOCK: %s already owns %s", new_owner.ID(), old_owner.ID()) + ctx.Log.Logf("lockable", "LOCKABLE_LOCK: %s already owns %s", new_owner.ID(), req.ID()) // Otherwise update the state } else { req.SetOwner(new_owner)