mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Fix error code for PostVDS
This commit is contained in:
parent
f7a0e5f536
commit
bfff643f34
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func (h *GRPCHandler) PostVDS(ctx context.Context, req *pb.PostVDSRequest) (*pb.
|
|||
opts := pilosa.IndexOptions{Keys: req.Keys, TrackExistence: req.TrackExistence}
|
||||
_, err := h.api.CreateIndex(ctx, req.Name, opts)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, errToStatusError(err)
|
||||
}
|
||||
return &pb.PostVDSResponse{}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue