Skip to content

Fix ibm instance groups missing mutex #2024

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

Conversation

gcheang
Copy link
Contributor

@gcheang gcheang commented May 9, 2025

Includes changes from: #2015 "Add support for ibm cd toolchain", which is using goroutines and mutexes.

Noticed that instance_groups.go is also using goroutines, but was not using a mutex, leading to the possibility of resources being overwritten. Changes in this PR include:

  • Moving resourceMutex (which is used for g.Resources) from ibm_cd_toolchain.go to ibm_provider.go
  • Adding resourceMutex to instance_groups.go

@sergeylanzman sergeylanzman merged commit 4e131e7 into GoogleCloudPlatform:master May 25, 2025
4 checks passed
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.

2 participants