-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated registry API #219
Conversation
This one is not as straightforward as the previous one, so @klihub please take a look. I'm not sure replacing |
It should be the correct approach. I'll take a closer look on Monday to see if I spot anything. But one thing I already noticed will need updating is our godoc in pkg/cdi/doc.go. |
d534070
to
b7c7dba
Compare
Thank you for pointing this out! I've updated the docs and code comments. |
b7c7dba
to
6d88512
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bart0sh.
I have some comments regarding docs. I also think that when it makes sense to do so, we should rather instantiate a cache
instance explicitly instead of relying on the (global) default cache. Especially in cases where we are configuring the spec directories.
6d88512
to
b79ef0c
Compare
b79ef0c
to
b89bae7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bart0sh I have two very small nitpicks about help and info/error message consistency wrt. cache
vs. Cache
in messages. The original code was apparently inconsistent in this regard (no wonder, knowing the author), but this PR is already very close to fixing that with two exceptions.
Otherwise LGTM. Not a showstopper though, hence the approval.
b89bae7
to
11fe536
Compare
Signed-off-by: Ed Bartosh <[email protected]>
11fe536
to
cddb43f
Compare
Signed-off-by: Evan Lezar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some changes to the whitespace in doc.go.
Looks good otherwise.
No description provided.