Skip to content
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

Fix object provided as argument of DeleteLogObject #2714

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

giggsoff
Copy link
Contributor

I can see errors "DeleteLogObject: LogObject with mapKey
verifyimage_status-... not found in internal map". Seems we must pass
the same logBase object as we provide when call EnsureLogObject and
NewLogObject. Otherwise, we will not delete objects from logObjectMap.

Signed-off-by: Petr Fedchenkov giggsoff@gmail.com

I can see errors "DeleteLogObject: LogObject with mapKey
verifyimage_status-... not found in internal map". Seems we must pass
the same logBase object as we provide when call EnsureLogObject and
NewLogObject. Otherwise, we will not delete objects from logObjectMap.

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
@giggsoff giggsoff mentioned this pull request Jul 13, 2022
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

Good catch; thanks.

@eriknordmark eriknordmark merged commit 8ed4220 into lf-edge:master Jul 20, 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