diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2024-10-04 09:58:47 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2024-10-04 10:14:38 +0300 |
commit | 9ad2894d3a432775a19303a5e8b7a79092017963 (patch) | |
tree | 5e53ebb5a41c45938a332cb8f13ed320047411b5 /library/cpp/monlib/encode/json/json_encoder.cpp | |
parent | 8b94a751187ed4a463b7f37023098505492d4574 (diff) | |
download | ydb-9ad2894d3a432775a19303a5e8b7a79092017963.tar.gz |
Remove Size, Empty and Data usages from library
commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af
Diffstat (limited to 'library/cpp/monlib/encode/json/json_encoder.cpp')
-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"); |