mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
correct handling of field translate data fetch in get translate data endpoint
After retrieving field translation, this attempted to fetch index translation which didn't work because this is not an index translation request.
This commit is contained in:
parent
576c2d9efc
commit
bfe2383f65
1 changed files with 1 additions and 0 deletions
|
|
@ -1978,6 +1978,7 @@ func (h *Handler) handleGetTranslateData(w http.ResponseWriter, r *http.Request)
|
|||
if _, err := p.WriteTo(w); err != nil {
|
||||
h.logger.Errorf("error streaming translation data: %s", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Otherwise read partition parameter for index translation copy.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue