Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Fix concurrent map write for hardlink #324

Merged

Conversation

antechrestos
Copy link
Contributor

This change uses sync.Map as suggested in #323 . It also uses a sync.atomic.Value container for any error that might happens while loop iteration

@antechrestos
Copy link
Contributor Author

@nkubala any feedback on this?
thanks

Copy link
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

@antechrestos sorry for the late review on this one, but this LGTM

@nkubala nkubala merged commit 4902d08 into GoogleContainerTools:master Feb 13, 2020
@antechrestos antechrestos deleted the fix/concurrent_map_write branch February 13, 2020 15:52
@antechrestos
Copy link
Contributor Author

antechrestos commented Feb 13, 2020

@nkubala no problem 😊

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants