aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/json
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2024-10-04 11:11:38 +0000
committerAlexander Smirnov <alex@ydb.tech>2024-10-04 11:11:38 +0000
commit6547f93cad0868da00a4e9e4d4dc63b26726653b (patch)
treef6a1ecd48d58a29cbb921167cb15a80aad1a1d21 /library/cpp/monlib/encode/json
parente55564f7a0a0ff7b638ce199c1b5005b696d349d (diff)
parent5d32f79de3c53b2eaebca9be84a7399d479f8549 (diff)
downloadydb-6547f93cad0868da00a4e9e4d4dc63b26726653b.tar.gz
Merge branch 'rightlib' into mergelibs-241004-1110
Diffstat (limited to 'library/cpp/monlib/encode/json')
-rw-r--r--library/cpp/monlib/encode/json/json_encoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/monlib/encode/json/json_encoder.cpp b/library/cpp/monlib/encode/json/json_encoder.cpp
index 20d2bb6283..69da5170f0 100644
--- a/library/cpp/monlib/encode/json/json_encoder.cpp
+++ b/library/cpp/monlib/encode/json/json_encoder.cpp
@@ -198,7 +198,7 @@ namespace NMonitoring {
if (Style_ != EJsonStyle::Cloud) {
return;
}
- if (CurrentMetricName_.Empty()) {
+ if (CurrentMetricName_.empty()) {
ythrow yexception() << "label '" << MetricNameLabel_ << "' is not defined";
}
Buf_.WriteKey("name");