diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-10-04 11:11:38 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-10-04 11:11:38 +0000 |
commit | 6547f93cad0868da00a4e9e4d4dc63b26726653b (patch) | |
tree | f6a1ecd48d58a29cbb921167cb15a80aad1a1d21 /library/cpp/monlib/encode/json | |
parent | e55564f7a0a0ff7b638ce199c1b5005b696d349d (diff) | |
parent | 5d32f79de3c53b2eaebca9be84a7399d479f8549 (diff) | |
download | ydb-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.cpp | 2 |
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"); |