cookpad / sds

Envoy's v1 Service Discovery Service API and v2 Endpoint Discovery Service API
24 stars 4 forks source link

Support load balancing weight #2

Closed ganmacs closed 6 years ago

ganmacs commented 6 years ago

Support load_blancing_weight option of service discovery service's host configuration in envoyproxy For backward compatibility, the type of load_balancing_weight is Option<u8>.

@cookpad/dev-infra review please.

ganmacs commented 6 years ago

Can you leave which version of rustfmt you use into the commit commet?

✔   ~/src/github.com/cookpad/sds [support-load-balancing-weight2]
$ rustc --version                                                                                                                                  
rustc 1.28.0 (9634041f0 2018-07-30)
✔   ~/src/github.com/cookpad/sds [support-load-balancing-weight2]
$ cargo fmt --version                                                                                                                              
rustfmt 0.8.2-stable (08da30d7 2018-06-06)

rustfmt I used was old version :bow: So I updated rustfmt to 0.8.2 and re-run cargo fmt in this respository.