aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib
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
commit937a6bb8d7c82d8d9d717f2bf6ce6c592a443641 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/monlib
parent4aae166b5d23fd02653919f43e2015cd636fa6fd (diff)
downloadydb-937a6bb8d7c82d8d9d717f2bf6ce6c592a443641.tar.gz
Restoring authorship annotation for <krock21@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib')
-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 8b0ac1f4ca..2d11b9d5ba 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 {