Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
fix: check manifests for registry in GA mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ysndr committed Dec 1, 2023
1 parent 72fb54b commit a662406
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/resolver/mixins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ GAEnvironmentMixin::initGlobalManifest( GlobalManifestRaw manifestRaw )
{
if ( this->gaRegistry )
{
(void) static_cast<GlobalManifestRawGA>( manifestRaw );

if ( ! manifestRaw.registry.has_value() )
{
manifestRaw.registry = getGARegistry();
Expand All @@ -375,6 +377,8 @@ GAEnvironmentMixin::initManifest( ManifestRaw manifestRaw )
{
if ( this->gaRegistry )
{
(void) static_cast<ManifestRawGA>( manifestRaw );

if ( ! manifestRaw.registry.has_value() )
{
manifestRaw.registry = getGARegistry();
Expand Down

0 comments on commit a662406

Please sign in to comment.