diff --git a/source/common/protobuf/utility.cc b/source/common/protobuf/utility.cc index 5b53a1c28948..f05cf022ec6c 100644 --- a/source/common/protobuf/utility.cc +++ b/source/common/protobuf/utility.cc @@ -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()) {