mirror of
https://github.com/rancher/norman.git
synced 2025-08-31 23:02:01 +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.