Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Feb 29, 2024
1 parent 4b783cd commit febb8b7
Show file tree
Hide file tree
Showing 17 changed files with 398 additions and 839 deletions.
2 changes: 1 addition & 1 deletion proto-gen/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn execute(which: &str) {

cmd
// Run rustfmt on the output, since they're committed they might as well be nice
//.arg("--format")
.arg("--format")
.arg("--build-server")
.arg("--build-client")
.arg("--generate-transport")
Expand Down
32 changes: 4 additions & 28 deletions src/generated/envoy/config/accesslog/v3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,7 @@ pub struct ComparisonFilter {
}
/// Nested message and enum types in `ComparisonFilter`.
pub mod comparison_filter {
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Op {
/// =
Expand Down Expand Up @@ -177,9 +167,7 @@ pub struct RuntimeFilter {
/// The default sampling percentage. If not specified, defaults to 0% with
/// denominator of 100.
#[prost(message, optional, tag = "2")]
pub percent_sampled: ::core::option::Option<
super::super::super::kind::v3::FractionalPercent,
>,
pub percent_sampled: ::core::option::Option<super::super::super::kind::v3::FractionalPercent>,
/// By default, sampling pivots on the header
/// :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` being
/// present. If :ref:`x-request-id<config_http_conn_man_headers_x-request-id>`
Expand Down Expand Up @@ -259,17 +247,7 @@ pub struct GrpcStatusFilter {
}
/// Nested message and enum types in `GrpcStatusFilter`.
pub mod grpc_status_filter {
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Status {
Ok = 0,
Expand Down Expand Up @@ -354,9 +332,7 @@ pub struct MetadataFilter {
/// access_log_hint metadata, set the filter to "envoy.common" and the path to
/// "access_log_hint", and the value to "true".
#[prost(message, optional, tag = "1")]
pub matcher: ::core::option::Option<
super::super::super::kind::matcher::v3::MetadataMatcher,
>,
pub matcher: ::core::option::Option<super::super::super::kind::matcher::v3::MetadataMatcher>,
/// Default result if the key does not exist in dynamic metadata: if unset or
/// true, then log; if false, then don't log.
#[prost(message, optional, tag = "2")]
Expand Down
Loading

0 comments on commit febb8b7

Please sign in to comment.