Skip to content

Commit

Permalink
Fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzaldysanchez committed Jul 30, 2024
1 parent 6fcd67a commit 4df31ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/services/registrysyncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,10 @@ func (s *registrySyncer) sync(ctx context.Context, isInitialSync bool) error {
lr, err = s.orm.latestState(ctx)
if err != nil {
s.lggr.Errorw("failed to sync with local registry, using remote registry instead", "error", err)
} else {
lr.lggr = s.lggr
lr.peerWrapper = s.peerWrapper
}
lr.lggr = s.lggr
lr.peerWrapper = s.peerWrapper
}

if lr == nil {
Expand Down

0 comments on commit 4df31ac

Please sign in to comment.