Fixed typo in log

graph-rework-2
noah metz 2023-07-11 17:22:14 -06:00
parent 1fbfdf3b8c
commit a9b40db0de
1 changed files with 1 additions and 1 deletions

@ -448,7 +448,7 @@ func LockLockables(ctx * Context, to_lock []Lockable, new_owner Lockable, nodes
new_owner.RecordLock(req, old_owner) new_owner.RecordLock(req, old_owner)
// Otherwise if the new owner already owns it, no need to update state // Otherwise if the new owner already owns it, no need to update state
} else if old_owner.ID() == new_owner.ID() { } 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 // Otherwise update the state
} else { } else {
req.SetOwner(new_owner) req.SetOwner(new_owner)