1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-22 01:02:55 +00:00
norman/objectclient
Craig Jellick 445b05f70c Fix concurrent map read/write
Problem:
If you set a resource's labels to a global/shared map variable,
norman will modify that map by adding a label. In race conditions,
this can cause a concurrent map read/write panic.

Solution:
Copy the map in norman before modifying it.
2019-02-12 13:06:49 -07:00
..
dynamic Add support for k8s 1.12 2018-10-09 19:30:04 -07:00
object_client.go Fix concurrent map read/write 2019-02-12 13:06:49 -07:00