611a29f682
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
22 lines
327 B
Go
22 lines
327 B
Go
package searchsvc
|
|
|
|
import (
|
|
"go.uber.org/zap"
|
|
)
|
|
|
|
func (exec *execCtx) executeLocal() {
|
|
ids, err := exec.svc.localStorage.search(exec)
|
|
|
|
if err != nil {
|
|
exec.status = statusUndefined
|
|
exec.err = err
|
|
|
|
exec.log.Debug("local operation failed",
|
|
zap.String("error", err.Error()),
|
|
)
|
|
|
|
return
|
|
}
|
|
|
|
exec.writeIDList(ids)
|
|
}
|