fix(http): make query service look for platform.Error in response (#2027)

pull/10616/head
Christopher M. Wolff 2018-12-18 13:37:25 -08:00 committed by GitHub
parent f9af1e6631
commit 86b10a75c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func (s *QueryService) Query(ctx context.Context, req *query.Request) (flux.Resu
if err != nil {
return nil, err
}
if err := CheckError(resp); err != nil {
if err := CheckError(resp, true); err != nil {
return nil, err
}