Skip to content

Commit

Permalink
trying to solve Envoy Mobile issue
Browse files Browse the repository at this point in the history
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
  • Loading branch information
adisuissa committed May 7, 2024
1 parent 8893248 commit bc971f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/protobuf/utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class DurationFieldProtoVisitor : public ProtobufMessage::ConstProtoVisitor {
const Protobuf::ReflectableMessage reflectable_message = createReflectableMessage(message);
if (reflectable_message->GetDescriptor()->full_name() == "google.protobuf.Duration") {
ProtobufWkt::Duration duration_message;
duration_message.CheckTypeAndMergeFrom(message);
duration_message.MergeFrom(message);
// Validate the value of the duration.
absl::Status status = validateDurationUnifiedNoThrow(duration_message);
if (!status.ok()) {
Expand Down

0 comments on commit bc971f3

Please sign in to comment.