api: trivial cleanups. (#42)

* Remove unused imports.

* Some _ms/Duration stragglers.
pull/43/head
htuch 8 years ago committed by GitHub
parent 2fe9b3dad2
commit 461d2f8f4b
  1. 2
      api/base.proto
  2. 4
      api/cds.proto
  3. 2
      api/health_check.proto
  4. 5
      api/rds.proto

@ -4,9 +4,7 @@ package envoy.api.v2;
import "api/address.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/wrappers.proto";
// Identifies location of where either Envoy runs or where upstream hosts run.
message Locality {

@ -176,8 +176,8 @@ message Cluster {
// for any host in the cluster. Defaults to 5.
google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
// The minimum number of total requests that must be collected in one
// interval (as defined by interval_ms above) to include this host in
// success rate based outlier detection. If the volume is lower than this
// interval (as defined by the interval duration above) to include this host
// in success rate based outlier detection. If the volume is lower than this
// setting, outlier detection via success rate statistics is not performed
// for that host. Defaults to 100.
google.protobuf.UInt32Value success_rate_request_volume = 8;

@ -2,8 +2,6 @@ syntax = "proto3";
package envoy.api.v2;
import "api/base.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";

@ -9,6 +9,7 @@ package envoy.api.v2;
import "api/base.proto";
import "google/api/annotations.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/wrappers.proto";
@ -156,7 +157,7 @@ message ForwardAction {
// Note that this timeout includes all retries. See also
// x-envoy-upstream-rq-timeout-ms, x-envoy-upstream-rq-per-try-timeout-ms, and
// the retry overview.
google.protobuf.UInt32Value timeout_ms = 7;
google.protobuf.Duration timeout = 7;
message RetryPolicy {
// Specifies the conditions under which retry takes place. These are the
@ -169,7 +170,7 @@ message ForwardAction {
// Specifies a non-zero timeout per retry attempt. This parameter is
// optional. The same conditions documented for
// x-envoy-upstream-rq-per-try-timeout-ms apply.
google.protobuf.UInt32Value per_try_timeout_ms = 3;
google.protobuf.Duration per_try_timeout = 3;
}
// Indicates that the route has a retry policy.
RetryPolicy retry_policy = 8;

Loading…
Cancel
Save