| 46 | } |
| 47 | |
| 48 | int LockServiceImpl::AcquireLock(const phxqueue::comm::proto::AcquireLockRequest &req, |
| 49 | phxqueue::comm::proto::AcquireLockResponse *resp) { |
| 50 | int ret{static_cast<int>(lock_->AcquireLock(req, *resp))}; |
| 51 | |
| 52 | if (0 != ret) { |
| 53 | QLErr("Lock AcquireLock err %d", ret); |
| 54 | } |
| 55 | |
| 56 | return ret; |
| 57 | } |
| 58 |
nothing calls this directly
no outgoing calls
no test coverage detected