mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 15:51:01 +00:00
Fix error code for DeleteVDS
This commit is contained in:
parent
bf17385409
commit
f7a0e5f536
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ func (h *GRPCHandler) PostVDS(ctx context.Context, req *pb.PostVDSRequest) (*pb.
|
|||
func (h *GRPCHandler) DeleteVDS(ctx context.Context, req *pb.DeleteVDSRequest) (*pb.DeleteVDSResponse, error) {
|
||||
err := h.api.DeleteIndex(ctx, req.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, errToStatusError(err)
|
||||
}
|
||||
return &pb.DeleteVDSResponse{}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue