diff options
author | innokentii <innokentii@yandex-team.com> | 2022-11-21 23:56:26 +0300 |
---|---|---|
committer | innokentii <innokentii@yandex-team.com> | 2022-11-21 23:56:26 +0300 |
commit | 8a261a5ed3ead1f61b53eb7ea359310fbc8e477c (patch) | |
tree | 0890f61d3c1e8cb03aed70ac88e3533436e6ced1 | |
parent | f974877ac6aa4feea9cd558247be417a597fdead (diff) | |
download | ydb-8a261a5ed3ead1f61b53eb7ea359310fbc8e477c.tar.gz |
Fix typo in sentinel monitoring deserializing
fix typos
-rw-r--r-- | ydb/core/cms/json_proxy_sentinel.h | 2 | ||||
-rw-r--r-- | ydb/core/cms/ui/sentinel_state.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/cms/json_proxy_sentinel.h b/ydb/core/cms/json_proxy_sentinel.h index a44e0adbebe..cc069fe26a3 100644 --- a/ydb/core/cms/json_proxy_sentinel.h +++ b/ydb/core/cms/json_proxy_sentinel.h @@ -34,7 +34,7 @@ public: ui32 begin = 0; ui32 end = 0; if (!StringSplitter(strRange).Split('-').TryCollectInto(&begin, &end)) { - if (TryFromString<ui32>(strRange), begin) { + if (TryFromString<ui32>(strRange, begin)) { end = begin; } else { break; // TODO diff --git a/ydb/core/cms/ui/sentinel_state.js b/ydb/core/cms/ui/sentinel_state.js index b35021afa8d..d151441b059 100644 --- a/ydb/core/cms/ui/sentinel_state.js +++ b/ydb/core/cms/ui/sentinel_state.js @@ -403,7 +403,7 @@ class CmsSentinelState { initTab() { $("#sentinel-anim").addClass("anim"); - $("#sentinel-refresh-range").click(this.refreshRange); + $("#sentinel-refresh-range").click(this.refreshRange.bind(this)); for (var name of ["Config", "StateUpdater", "ConfigUpdater"]) { this.preparePVTable(name); |