mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 07:11:02 +00:00
fix bug with query bug
This commit is contained in:
parent
baf5e47d8f
commit
1a4acfe97d
1 changed files with 5 additions and 1 deletions
|
|
@ -719,7 +719,11 @@ func (h *GRPCHandler) Inspect(req *pb.InspectRequest, stream pb.Pilosa_InspectSe
|
|||
h.logger.Infof("DEPRECATED: Inspect is deprecated, please use Extract() instead.")
|
||||
})
|
||||
|
||||
LogQuery(stream.Context(), "Inspect", req, h.queryLogger)
|
||||
ctx := stream.Context()
|
||||
uinfo := ctx.Value("userinfo")
|
||||
if uinfo != nil {
|
||||
LogQuery(stream.Context(), "Inspect", req, h.queryLogger)
|
||||
}
|
||||
|
||||
index, err := h.api.Index(stream.Context(), req.Index)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue