hound-search/hound

Client does not update object on response failure

Open

#285 aperta il 15 giu 2018

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

Metriche repository

Star
 (5470 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

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