mirror of
https://github.com/rancher/norman.git
synced 2025-08-22 01:02:55 +00:00
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. |
||
---|---|---|
.. | ||
dynamic | ||
object_client.go |