diff options
author | s-berdnikov <s-berdnikov@yandex-team.com> | 2024-06-27 20:20:44 +0300 |
---|---|---|
committer | s-berdnikov <s-berdnikov@yandex-team.com> | 2024-06-27 20:33:08 +0300 |
commit | 21ccd0c39339654db33a37ccabd22608990af189 (patch) | |
tree | ffb5bf947cbdd866d9fe5fcea60adb62a26a2b71 | |
parent | 590967baf6e84f54d630b2cf061270c3cadb4404 (diff) | |
download | ydb-21ccd0c39339654db33a37ccabd22608990af189.tar.gz |
Do not update node spec in one proto message in YP Resource Controller
a29506de21bfe567f37ca2b704b56e408f58339e
-rw-r--r-- | yt/yt/core/ytree/serialize.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/yt/yt/core/ytree/serialize.h b/yt/yt/core/ytree/serialize.h index e0631963b4..e5352f5270 100644 --- a/yt/yt/core/ytree/serialize.h +++ b/yt/yt/core/ytree/serialize.h @@ -122,6 +122,14 @@ void Serialize(const std::deque<T, A>& value, NYson::IYsonConsumer* consumer); template <class T, size_t N> void Serialize(const TCompactVector<T, N>& value, NYson::IYsonConsumer* consumer); +// RepeatedPtrField +template <class T> +void Serialize(const google::protobuf::RepeatedPtrField<T>& items, NYson::IYsonConsumer* consumer); + +// RepeatedField +template <class T> +void Serialize(const google::protobuf::RepeatedField<T>& items, NYson::IYsonConsumer* consumer); + // TErrorOr template <class T> void Serialize(const TErrorOr<T>& error, NYson::IYsonConsumer* consumer); |