diff options
| author | krock21 <[email protected]> | 2022-02-10 16:46:02 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:02 +0300 | 
| commit | 937a6bb8d7c82d8d9d717f2bf6ce6c592a443641 (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/monlib | |
| parent | 4aae166b5d23fd02653919f43e2015cd636fa6fd (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib')
| -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 8b0ac1f4cad..2d11b9d5ba3 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 {  | 
