diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/monlib/service/pages | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 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 582eac2908..83ff8b529a 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 9903a16670..e396612bb0 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 294e140d92..c59e50f622 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 f1479b643f..b4656f059f 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]; |