hound-search/hound

Client does not update object on response failure

Open

#285 opened on Jun 15, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (5,470 stars) (606 forks)batch import
bughelp wanted

Description

var resp client.Response
// finds results
err := client.Search(&resp, cfg, "node-xray", svc, "^package.json", 0, false, false)
// does not find results
err := client.Search(&resp, cfg, "http-shutdown", svc, "^package.json", 0, false, false)
// Expected Behavior - resp holds results from second call.
// Actual Behavior - resp still holding results from first call.

Contributor guide