frostfs-node/pkg/services/object/search/local.go

23 lines
327 B
Go
Raw Normal View History

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)
}