wsd: not an error to not support storage locking

Change-Id: I0314a37bbda40808bd7d225540e69b93a1ab18d2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
This commit is contained in:
Ashod Nakashian 2023-02-25 10:53:10 -05:00 committed by Ashod Nakashian
parent 9c39ebad1f
commit 5f0248ef7f

View file

@ -1231,6 +1231,7 @@ bool DocumentBroker::updateStorageLockState(ClientSession& session, bool lock, s
{
case StorageBase::LockUpdateResult::UNSUPPORTED:
LOG_DBG("Locks on docKey [" << _docKey << "] are unsupported");
return true; // Not an error.
break;
case StorageBase::LockUpdateResult::OK:
LOG_DBG((lock ? "Locked" : "Unlocked") << " docKey [" << _docKey << "] successfully");