rode / grafeas-elasticsearch

An implementation of the Grafeas storage backend based on Elasticsearch
Apache License 2.0
12 stars 5 forks source link

[esutil.Client] fix routing support for MultiSearch to specify routing for each individual search #95

Closed mrparkers closed 3 years ago

mrparkers commented 3 years ago

it's actually not a good assumption that each search in this request would use the same routing value.

codecov-commenter commented 3 years ago

Codecov Report

Merging #95 (bc723a7) into main (96c0c8a) will increase coverage by 0.14%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
+ Coverage   84.60%   84.75%   +0.14%     
==========================================
  Files           9        9              
  Lines        1020     1030      +10     
==========================================
+ Hits          863      873      +10     
  Misses         93       93              
  Partials       64       64              
Impacted Files Coverage Δ
go/v1beta1/storage/esutil/types.go 69.23% <ø> (ø)
go/v1beta1/storage/esutil/client.go 83.56% <100.00%> (+0.58%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 96c0c8a...bc723a7. Read the comment docs.