Renamed LocalityEndpoints message in eds.proto, as it was (#47)

clashing with a message with the same name in hds.proto
pull/48/head
Rohit Bhoj 8 years ago committed by htuch
parent 122b94cc5d
commit 633a80eb8e
  1. 6
      api/eds.proto

@ -93,7 +93,7 @@ message LbEndpoint {
} }
// All endpoints belonging to a Locality. // All endpoints belonging to a Locality.
message LocalityEndpoints { message LocalityLbEndpoints {
Locality locality = 1; Locality locality = 1;
repeated LbEndpoint lb_endpoints = 2; repeated LbEndpoint lb_endpoints = 2;
@ -187,11 +187,11 @@ message LoadBalanceRequest {
// load_balancing_weight of its Locality. // load_balancing_weight of its Locality.
message ClusterLoadBalance { message ClusterLoadBalance {
string cluster_name = 1; string cluster_name = 1;
repeated LocalityEndpoints endpoints = 2; repeated LocalityLbEndpoints endpoints = 2;
// In the case where all endpoints for a particular zone/subzone are // In the case where all endpoints for a particular zone/subzone are
// unavailable/unhealthy, additional endpoints are given out for use in case // unavailable/unhealthy, additional endpoints are given out for use in case
// of catastrophic failure. They also have weights. // of catastrophic failure. They also have weights.
repeated LocalityEndpoints failover_endpoints = 3; repeated LocalityLbEndpoints failover_endpoints = 3;
message Policy { message Policy {
// Percentage of traffic (0-100) that should be dropped. This // Percentage of traffic (0-100) that should be dropped. This
// action allows protection of upstream hosts should they unable to // action allows protection of upstream hosts should they unable to

Loading…
Cancel
Save