migration log fixed

This commit is contained in:
liugq 2022-10-25 20:47:41 +08:00
parent 71f0871e5a
commit 2609e51623
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ func (h *GatewayAPI) getExecutionNodes(w http.ResponseWriter, req *http.Request,
h.WriteError(w, err.Error(), http.StatusInternalServerError) h.WriteError(w, err.Error(), http.StatusInternalServerError)
return return
} }
var nodes []util.MapStr var nodes = []util.MapStr{}
for _, hit := range searchRes.Hits.Hits { for _, hit := range searchRes.Hits.Hits {
var ( var (
endpoint string endpoint string