Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Pengyuan Bian <[email protected]>
  • Loading branch information
bianpengyuan committed Sep 11, 2019
1 parent 053ee70 commit 571c31a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ HttpConnectionManagerConfig::HttpConnectionManagerConfig(
// TODO: Random sampling historically was an integer and default to out of 10,000. We should
// deprecate that and move to a straight fractional percent config.
uint64_t random_sampling_numerator{PROTOBUF_PERCENT_TO_ROUNDED_INTEGER_OR_DEFAULT(
tracing_config, random_sampling, 10000, 10000)};
tracing_config, random_sampling, 10000, 10000)};
random_sampling.set_numerator(random_sampling_numerator);
random_sampling.set_denominator(envoy::type::FractionalPercent::TEN_THOUSAND);
envoy::type::FractionalPercent overall_sampling;
Expand Down

0 comments on commit 571c31a

Please sign in to comment.