1
#include "source/extensions/load_balancing_policies/round_robin/round_robin_lb.h"
2

            
3
namespace Envoy {
4
namespace Upstream {
5

            
6
TypedRoundRobinLbConfig::TypedRoundRobinLbConfig(const RoundRobinLbProto& lb_config)
7
228371
    : lb_config_(lb_config) {}
8

            
9
TypedRoundRobinLbConfig::TypedRoundRobinLbConfig(const CommonLbConfigProto& common_lb_config,
10
12237
                                                 const LegacyRoundRobinLbProto& lb_config) {
11
12237
  Upstream::LoadBalancerConfigHelper::convertSlowStartConfigTo(lb_config, lb_config_);
12
12237
  Upstream::LoadBalancerConfigHelper::convertLocalityLbConfigTo(common_lb_config, lb_config_);
13
12237
}
14

            
15
} // namespace Upstream
16
} // namespace Envoy