Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Avlasov <yavlasov@google.com>
  • Loading branch information
yanavlasov committed Apr 22, 2024
1 parent eaaad95 commit c05fcb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/common/runtime/runtime_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,7 @@ LoaderImpl::create(Event::Dispatcher& dispatcher, ThreadLocal::SlotAllocator& tl
ProtobufMessage::ValidationVisitor& validation_visitor, Api::Api& api) {
auto loader =
std::unique_ptr<LoaderImpl>(new LoaderImpl(tls, config, local_info, store, generator, api));
auto result = loader->initLayers(dispatcher, validation_visitor);
RETURN_IF_NOT_OK(result);
RETURN_IF_NOT_OK(loader->initLayers(dispatcher, validation_visitor));
return loader;
}

Expand Down

0 comments on commit c05fcb1

Please sign in to comment.