Skip to content

Commit

Permalink
fix: Refreshes the registry instead of stopping the background refresh (
Browse files Browse the repository at this point in the history
#89)

* fix: Refreshes the registry instead of stopping the background refresh

---------

Co-authored-by: Bhargav Dodla <[email protected]>
  • Loading branch information
EXPEbdodla and Bhargav Dodla authored Mar 7, 2024
1 parent 6a0d07d commit c540117
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/internal/feast/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ func (r *Registry) RefreshRegistryOnInterval() {
err := r.refresh()
if err != nil {
log.Error().Stack().Err(err).Msg("Registry refresh Failed")
return
}
}
}
Expand All @@ -104,7 +103,7 @@ func (r *Registry) getRegistryProto() (*core.Registry, error) {
}
registryProto, err := r.registryStore.GetRegistryProto()
if err != nil {
return registryProto, err
return nil, err
}
r.load(registryProto)
return registryProto, nil
Expand Down

0 comments on commit c540117

Please sign in to comment.