mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-04 20:51:27 +00:00
Two issues, first is resolved by renaming the error variable so a goroutine isn't sharing err from outer scope with all other goroutines. The second issue is resolved by using a sync.Map to safely read and write to a map via the Range function. Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>