MSP-1540 remove redundant logging on controller/repo/service

This commit is contained in:
riabovvo committed 2023-05-15 11:38:31 +03:00
1 parent 1880bd43e5
commit 00a5c4729e
3 files changed
-8

No files matched your search

-2
View File
@@ -19,13 +19,11 @@ type Locker struct {
}
func (l Locker) Lock(ctx context.Context, req domain.LockRequest) (*domain.LockResponse, error) {
l.logger.Debug(ctx, "call srv.Lock")
// nolint: wrapcheck
return l.repo.Lock(ctx, req.Key, req.TTLInSec)
}
func (l Locker) UnLock(ctx context.Context, req domain.UnLockRequest) (*domain.LockResponse, error) {
l.logger.Debug(ctx, "call srv.UnLock")
// nolint: wrapcheck
return l.repo.UnLock(ctx, req.Key, req.LockKey)
}