Skip to content

fix (ldap): fix slice append to be concurrent safe#167

Merged
jimlambrt merged 1 commit into
mainfrom
jimlambrt-search-warning-race
Sep 11, 2025
Merged

fix (ldap): fix slice append to be concurrent safe#167
jimlambrt merged 1 commit into
mainfrom
jimlambrt-search-warning-race

Conversation

@jimlambrt

Copy link
Copy Markdown
Collaborator

When searching for groups, ensure the warnings
slice is appended to in a concurrent safe manner.

PCI review checklist

  • [ x ] I have documented a clear reason for, and description of, the change I am making.

@jimlambrt
jimlambrt requested a review from a team as a code owner September 10, 2025 17:46
@jimlambrt
jimlambrt force-pushed the jimlambrt-search-warning-race branch 2 times, most recently from bd26abf to d2be0ad Compare September 10, 2025 17:51
@jimlambrt
jimlambrt requested a review from sapleu-hc September 10, 2025 17:52

@johanbrandhorst johanbrandhorst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a style suggestion in the tests, LGTM!

Comment thread ldap/client_test.go
When searching for groups, ensure the warnings
slice is appended to in a concurrent safe manner.
@jimlambrt
jimlambrt force-pushed the jimlambrt-search-warning-race branch from d2be0ad to 40c1c11 Compare September 10, 2025 22:47
@jimlambrt
jimlambrt merged commit 44d0143 into main Sep 11, 2025
7 checks passed
@jimlambrt
jimlambrt deleted the jimlambrt-search-warning-race branch September 11, 2025 14:04
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