diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/monlib/service | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/service')
-rw-r--r-- | library/cpp/monlib/service/service.cpp | 6 | ||||
-rw-r--r-- | library/cpp/monlib/service/service.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/monlib/service/service.cpp b/library/cpp/monlib/service/service.cpp index 929efbf816..98c314d8d6 100644 --- a/library/cpp/monlib/service/service.cpp +++ b/library/cpp/monlib/service/service.cpp @@ -94,7 +94,7 @@ namespace NMonitoring { THttpRequestHeader Header; const THttpHeaders* Headers = nullptr; THttpURL Url; - TCgiParameters CgiParams; + TCgiParameters CgiParams; TCgiParameters PostParams; TBufferOutput PostContent; const NAddr::IRemoteAddr* RemoteAddr = nullptr; @@ -223,8 +223,8 @@ namespace NMonitoring { if (!Start()) { const auto& opts = THttpServer::Options(); TNetworkAddress addr = opts.Host - ? TNetworkAddress(opts.Host, opts.Port) - : TNetworkAddress(opts.Port); + ? TNetworkAddress(opts.Host, opts.Port) + : TNetworkAddress(opts.Port); ythrow TSystemError(GetErrorCode()) << addr; } } diff --git a/library/cpp/monlib/service/service.h b/library/cpp/monlib/service/service.h index 2f66dddaf8..7a04808092 100644 --- a/library/cpp/monlib/service/service.h +++ b/library/cpp/monlib/service/service.h @@ -19,7 +19,7 @@ namespace NMonitoring { } virtual const char* GetURI() const = 0; virtual const char* GetPath() const = 0; - virtual const TCgiParameters& GetParams() const = 0; + virtual const TCgiParameters& GetParams() const = 0; virtual const TCgiParameters& GetPostParams() const = 0; virtual TStringBuf GetPostContent() const = 0; virtual HTTP_METHOD GetMethod() const = 0; |