@@ -38,25 +38,25 @@ ReturnCode UdpHealthChecker::Init(Config* config, Context* /*context*/) {
3838
3939 std::string send_package = config->GetStringOrDefault (kUdpSendPackageKey , kUdpSendPackageDefault );
4040 if (send_package.empty ()) {
41- POLARIS_LOG (LOG_ERROR, " outlier detector [%s] config %s should not be empty" ,
41+ POLARIS_LOG (LOG_ERROR, " health checker [%s] config %s should not be empty" ,
4242 kPluginUdpHealthChecker , kUdpSendPackageKey );
4343 return kReturnInvalidConfig ;
4444 }
4545 if (!Utils::HexStringToBytes (send_package, &send_package_)) {
46- POLARIS_LOG (LOG_ERROR, " outlier detector [%s] config %s hexstring to bytes failed" ,
46+ POLARIS_LOG (LOG_ERROR, " health checker [%s] config %s hexstring to bytes failed" ,
4747 kPluginUdpHealthChecker , kUdpSendPackageKey );
4848 return kReturnInvalidConfig ;
4949 }
5050 std::string receive_package =
5151 config->GetStringOrDefault (kUdpReceivePackageKey , kUdpReceivePackageDefault );
5252 if (!receive_package.empty ()) {
5353 if (!Utils::HexStringToBytes (receive_package, &receive_package_)) {
54- POLARIS_LOG (LOG_ERROR, " outlier detector [%s] config %s hexstring to bytes failed" ,
54+ POLARIS_LOG (LOG_ERROR, " health checker [%s] config %s hexstring to bytes failed" ,
5555 kPluginUdpHealthChecker , kUdpReceivePackageKey );
5656 return kReturnInvalidConfig ;
5757 }
5858 }
59- timeout_ms_ = config->GetMsOrDefault (HealthCheckerConfig ::kTimeoutKey ,
59+ timeout_ms_ = config->GetMsOrDefault (HealthCheckerConfig::kTimeoutKey ,
6060 HealthCheckerConfig::kTimeoutDefault );
6161 return kReturnOk ;
6262}
0 commit comments