aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp
diff options
context:
space:
mode:
authorkrock21 <krock21@yandex-team.ru>2022-02-10 16:46:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:02 +0300
commit4aae166b5d23fd02653919f43e2015cd636fa6fd (patch)
tree70e52225c1ede3476f358bc4699197ace987d46d /library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp
parent9ab30620977aa96ae9e9da959e2f7e1370cb796d (diff)
downloadydb-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.cpp8
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 {