mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
remove empty value check from handler
This commit is contained in:
parent
002b65c516
commit
1de6085782
1 changed files with 0 additions and 4 deletions
|
|
@ -2721,10 +2721,6 @@ func (h *Handler) handlePostImport(w http.ResponseWriter, r *http.Request) {
|
|||
qcx := h.api.Txf().NewQcx()
|
||||
defer qcx.Abort()
|
||||
|
||||
if len(req.Values) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
if err := h.api.ImportValue(r.Context(), qcx, req, opts...); err != nil {
|
||||
switch errors.Cause(err) {
|
||||
case pilosa.ErrClusterDoesNotOwnShard, pilosa.ErrPreconditionFailed:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue