Skip to content

Fix out of date comments for CRI store packages#7152

Merged
estesp merged 1 commit intocontainerd:mainfrom
dcantah:fix-err-comments-cri
Jul 12, 2022
Merged

Fix out of date comments for CRI store packages#7152
estesp merged 1 commit intocontainerd:mainfrom
dcantah:fix-err-comments-cri

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented Jul 11, 2022

All of the CRI store related packages all use the standard errdefs
errors now for if a key doesn't or already exists (ErrAlreadyExists,
ErrNotFound), but the comments for the methods still referenced
some unused package specific error definitions. This change just
updates the comments to reflect what errors are actually returned
and adds comments for some previously undocumented exported
functions.

All of the CRI store related packages all use the standard errdefs
errors now for if a key doesn't or already exists (ErrAlreadyExists,
ErrNotFound), but the comments for the methods still referenced
some unused package specific error definitions. This change just
updates the comments to reflect what errors are actually returned
and adds comments for some previously undocumented exported functions.

Signed-off-by: Daniel Canter <[email protected]>
Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit ff91434 into containerd:main Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants