diff options
author | krock21 <krock21@yandex-team.ru> | 2022-02-10 16:46:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:02 +0300 |
commit | 4aae166b5d23fd02653919f43e2015cd636fa6fd (patch) | |
tree | 70e52225c1ede3476f358bc4699197ace987d46d /library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp | |
parent | 9ab30620977aa96ae9e9da959e2f7e1370cb796d (diff) | |
download | ydb-4aae166b5d23fd02653919f43e2015cd636fa6fd.tar.gz |
Restoring authorship annotation for <krock21@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp')
-rw-r--r-- | library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp b/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp index 2d11b9d5ba..8b0ac1f4ca 100644 --- a/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp +++ b/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp @@ -93,8 +93,8 @@ namespace NMonitoring { NProto::TLabel* label = (Sample_ == nullptr) ? Samples_->AddCommonLabels() : Sample_->AddLabels(); - label->SetName(TString{name}); - label->SetValue(TString{value}); + label->SetName(TString{name}); + label->SetValue(TString{value}); } void OnDouble(TInstant time, double value) override { @@ -181,8 +181,8 @@ namespace NMonitoring { ? Samples_->AddCommonLabels() : Sample_->AddLabels(); - label->SetName(TString{name}); - label->SetValue(TString{value}); + label->SetName(TString{name}); + label->SetValue(TString{value}); } void OnDouble(TInstant time, double value) override { |