From 4aae166b5d23fd02653919f43e2015cd636fa6fd Mon Sep 17 00:00:00 2001 From: krock21 <krock21@yandex-team.ru> Date: Thu, 10 Feb 2022 16:46:02 +0300 Subject: Restoring authorship annotation for <krock21@yandex-team.ru>. Commit 1 of 2. --- library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'library/cpp/monlib/encode') 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 { -- cgit v1.2.3