Skip to content

Commit

Permalink
errored responses are also incomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
kpacha committed Apr 13, 2018
1 parent a998a9d commit 7bba45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/merging.go
Expand Up @@ -92,7 +92,7 @@ func (i *incrementalMergeAccumulator) Result() (*Response, error) {
return &Response{Data: make(map[string]interface{}, 0), IsComplete: false}, newMergeError(i.errs)
}

if i.pending != 0 {
if i.pending != 0 || len(i.errs) != 0 {
i.data.IsComplete = false
}
return i.data, newMergeError(i.errs)
Expand Down

0 comments on commit 7bba45c

Please sign in to comment.