hound-search/hound

Client does not update object on response failure

Aperta

#285 aperta il 15 giu 2018

 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (606 fork)batch import
bughelp wanted

Metriche repository

Star
 (5470 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor