aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/rain_check
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:10 +0300
commitbaa58daefa91fde4b4769facdbd2903763b9c6a8 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/messagebus/rain_check
parent3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff)
downloadydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/rain_check')
-rw-r--r--library/cpp/messagebus/rain_check/http/client.cpp2
-rw-r--r--library/cpp/messagebus/rain_check/http/client_ut.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/messagebus/rain_check/http/client.cpp b/library/cpp/messagebus/rain_check/http/client.cpp
index f27f4d0346..5ef5ceeece 100644
--- a/library/cpp/messagebus/rain_check/http/client.cpp
+++ b/library/cpp/messagebus/rain_check/http/client.cpp
@@ -74,7 +74,7 @@ namespace NRainCheck {
THolder<THttpCallback> callback(new THttpCallback(future));
NNeh::TServiceStatRef stat;
try {
- NNeh::TMessage msg(addr.replace(0, NNeh::TParsedLocation(addr).Scheme.size(), "post"), data);
+ NNeh::TMessage msg(addr.replace(0, NNeh::TParsedLocation(addr).Scheme.size(), "post"), data);
TStringStream headersText;
headers.OutTo(&headersText);
NNeh::NHttp::MakeFullRequest(msg, headersText.Str(), TString());
diff --git a/library/cpp/messagebus/rain_check/http/client_ut.cpp b/library/cpp/messagebus/rain_check/http/client_ut.cpp
index 95cf61d9db..1628114391 100644
--- a/library/cpp/messagebus/rain_check/http/client_ut.cpp
+++ b/library/cpp/messagebus/rain_check/http/client_ut.cpp
@@ -41,11 +41,11 @@ namespace {
const TString TEST_POST_RECV = "POST was ok.";
TString BuildServiceLocation(ui32 port) {
- return Sprintf("http://*:%" PRIu32 "/%s", port, TEST_SERVICE.data());
+ return Sprintf("http://*:%" PRIu32 "/%s", port, TEST_SERVICE.data());
}
TString BuildPostServiceLocation(ui32 port) {
- return Sprintf("post://*:%" PRIu32 "/%s", port + 1, TEST_SERVICE.data());
+ return Sprintf("post://*:%" PRIu32 "/%s", port + 1, TEST_SERVICE.data());
}
TString BuildGetTestRequest(ui32 port) {
@@ -74,7 +74,7 @@ namespace {
const int THR_POOL_SIZE = 2;
runner->ForkLoop(THR_POOL_SIZE);
} catch (...) {
- Y_FAIL("Can't run server: %s", CurrentExceptionMessage().data());
+ Y_FAIL("Can't run server: %s", CurrentExceptionMessage().data());
}
return runner;