fix: change to write lock for thread safety in json unmarshal #242

Merged
argoyle merged 1 commits from fix/thread-safety-json-unmarshal into main 2025-11-02 21:09:19 +00:00

1 Commits

Author SHA1 Message Date
argoyle af93e418f4 fix: change to write lock for thread safety in json unmarshal
Replace read lock with write lock in client.go to ensure thread 
safety during the unmarshalling of JSON data. This prevents 
concurrent read access and potential data races, improving 
the integrity of the privileges data structure.
2025-11-02 21:56:54 +01:00