Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Conversation

@mat007
Copy link
Contributor

@mat007 mat007 commented Jul 7, 2021

What I did

I made the code consistent regarding loop variables capture for gorountines (ultimately we should probably use functions to split the code?). Also some variable copies before goroutines were missing.
I also serialized accesses to a map following crashes with «concurrent map read and map write» panics.

Related issue

(not mandatory) A picture of a cute animal, if possible in relation with what you did

mat007 added 2 commits July 7, 2021 12:25
This should fix concurrent accesses to the map.

Signed-off-by: Mathieu Champlon <[email protected]>
@github-actions github-actions bot added the kube Kubernetes backend label Jul 7, 2021
Signed-off-by: Mathieu Champlon <[email protected]>
Copy link
Contributor

@lorenrh lorenrh left a comment

Choose a reason for hiding this comment

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

LGTM, but wouldn't mind another pair of eyes!

Copy link
Contributor

@ulyssessouza ulyssessouza left a comment

Choose a reason for hiding this comment

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

LGTM

@ulyssessouza ulyssessouza merged commit ed0b123 into docker-archive:main Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kube Kubernetes backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants