diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/monlib/service/pages | |
parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) | |
download | ydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/service/pages')
-rw-r--r-- | library/cpp/monlib/service/pages/index_mon_page.cpp | 2 | ||||
-rw-r--r-- | library/cpp/monlib/service/pages/mon_page.h | 2 | ||||
-rw-r--r-- | library/cpp/monlib/service/pages/registry_mon_page.cpp | 2 | ||||
-rw-r--r-- | library/cpp/monlib/service/pages/templates.h | 54 |
4 files changed, 30 insertions, 30 deletions
diff --git a/library/cpp/monlib/service/pages/index_mon_page.cpp b/library/cpp/monlib/service/pages/index_mon_page.cpp index 83ff8b529a..582eac2908 100644 --- a/library/cpp/monlib/service/pages/index_mon_page.cpp +++ b/library/cpp/monlib/service/pages/index_mon_page.cpp @@ -32,7 +32,7 @@ void TIndexMonPage::Output(IMonHttpRequest& request) { if (i != PagesByPath.end()) { found = i->second; pathInfo = request.GetPathInfo().substr(pathTmp.size()); - Y_VERIFY(pathInfo.empty() || pathInfo.StartsWith('/')); + Y_VERIFY(pathInfo.empty() || pathInfo.StartsWith('/')); break; } size_t slash = pathTmp.find_last_of('/'); diff --git a/library/cpp/monlib/service/pages/mon_page.h b/library/cpp/monlib/service/pages/mon_page.h index e396612bb0..9903a16670 100644 --- a/library/cpp/monlib/service/pages/mon_page.h +++ b/library/cpp/monlib/service/pages/mon_page.h @@ -57,7 +57,7 @@ namespace NMonitoring { } bool IsInIndex() const { - return !Title.empty(); + return !Title.empty(); } virtual void Output(IMonHttpRequest& request) = 0; diff --git a/library/cpp/monlib/service/pages/registry_mon_page.cpp b/library/cpp/monlib/service/pages/registry_mon_page.cpp index c59e50f622..294e140d92 100644 --- a/library/cpp/monlib/service/pages/registry_mon_page.cpp +++ b/library/cpp/monlib/service/pages/registry_mon_page.cpp @@ -11,7 +11,7 @@ namespace NMonitoring { const auto formatStr = TStringBuf{request.GetPathInfo()}.RNextTok('/'); auto& out = request.Output(); - if (!formatStr.empty()) { + if (!formatStr.empty()) { IMetricEncoderPtr encoder; TString resp; diff --git a/library/cpp/monlib/service/pages/templates.h b/library/cpp/monlib/service/pages/templates.h index b4656f059f..f1479b643f 100644 --- a/library/cpp/monlib/service/pages/templates.h +++ b/library/cpp/monlib/service/pages/templates.h @@ -204,33 +204,33 @@ namespace NMonitoring { IOutputStream& Str; }; - extern const char HtmlTag[5]; - extern const char HeadTag[5]; - extern const char BodyTag[5]; - extern const char DivTag[4]; - extern const char TableTag[6]; - extern const char TableHeadTag[6]; - extern const char TableBodyTag[6]; - extern const char TableRTag[3]; - extern const char TableDTag[3]; - extern const char TableHTag[3]; - extern const char FormTag[5]; - extern const char LabelTag[6]; - extern const char SpanTag[5]; - extern const char CaptionTag[8]; - extern const char PreTag[4]; - extern const char ParaTag[2]; - extern const char H1Tag[3]; - extern const char H2Tag[3]; - extern const char H3Tag[3]; - extern const char H4Tag[3]; - extern const char H5Tag[3]; - extern const char H6Tag[3]; - extern const char SmallTag[6]; - extern const char StrongTag[7]; - extern const char ListTag[3]; - extern const char UListTag[3]; - extern const char OListTag[3]; + extern const char HtmlTag[5]; + extern const char HeadTag[5]; + extern const char BodyTag[5]; + extern const char DivTag[4]; + extern const char TableTag[6]; + extern const char TableHeadTag[6]; + extern const char TableBodyTag[6]; + extern const char TableRTag[3]; + extern const char TableDTag[3]; + extern const char TableHTag[3]; + extern const char FormTag[5]; + extern const char LabelTag[6]; + extern const char SpanTag[5]; + extern const char CaptionTag[8]; + extern const char PreTag[4]; + extern const char ParaTag[2]; + extern const char H1Tag[3]; + extern const char H2Tag[3]; + extern const char H3Tag[3]; + extern const char H4Tag[3]; + extern const char H5Tag[3]; + extern const char H6Tag[3]; + extern const char SmallTag[6]; + extern const char StrongTag[7]; + extern const char ListTag[3]; + extern const char UListTag[3]; + extern const char OListTag[3]; extern const char DListTag[3]; extern const char DTermTag[3]; extern const char DDescTag[3]; |