anchore-engine
anchore-engine copied to clipboard
convert FeedRegistry from global to singleton pattern
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:
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.