anchore-engine icon indicating copy to clipboard operation
anchore-engine copied to clipboard

convert FeedRegistry from global to singleton pattern

Open Vijay-P opened this issue 2 years ago • 1 comments

Signed-off-by: Vijay Pillai [email protected]

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:

Special notes:

Vijay-P avatar Sep 02 '21 15:09 Vijay-P

I like this direction. I propose a generalization into a 'RegistrySingleton' that can be used for other kinds of registries that are singletons since I think we'll use this pattern more than once.

zhill avatar Sep 09 '21 22:09 zhill