Skip to content

Commit f0e495e

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 805252589
1 parent 7d81e4c commit f0e495e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eval/public/structs/cel_proto_wrap_util.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class ValueManager {
334334
return nested_message->ParsePartialFromString(string);
335335
},
336336
[nested_message](const absl::Cord& cord) -> bool {
337-
return nested_message->ParsePartialFromCord(cord);
337+
return nested_message->ParsePartialFromString(cord);
338338
}),
339339
cel::well_known_types::AsVariant(payload));
340340
if (!ok) {
@@ -578,7 +578,7 @@ class ValueManager {
578578
}
579579
auto* value = google::protobuf::Arena::Create<T>(arena_);
580580
absl::Cord serialized;
581-
if (!message->SerializeToCord(&serialized)) {
581+
if (!message->SerializeToString(&serialized)) {
582582
return CreateErrorValue(
583583
arena_, absl::UnknownError(
584584
absl::StrCat("failed to serialize dynamic message: ",

0 commit comments

Comments
 (0)