Closed ganmacs closed 6 years ago
follow up https://github.com/cookpad/sds/pull/2
skip_serializing_if: https://serde.rs/field-attrs.html#serdeskipserializingif--path
Returning the value of load_balancing_weight as null is not acceptable for envoy. it's only acceptable number(1-100) or nothing. https://www.envoyproxy.io/docs/envoy/latest/api-v1/cluster_manager/sds#host-json
load_balancing_weight
null
@cookpad/dev-infra review please 🙏
follow up https://github.com/cookpad/sds/pull/2
skip_serializing_if: https://serde.rs/field-attrs.html#serdeskipserializingif--path
Returning the value of
load_balancing_weight
asnull
is not acceptable for envoy. it's only acceptable number(1-100) or nothing. https://www.envoyproxy.io/docs/envoy/latest/api-v1/cluster_manager/sds#host-json@cookpad/dev-infra review please 🙏