{"action":"created","issue":{"url":"https://api.github.com/repos/clearlinux/mixer-tools/issues/403","repository_url":"https://api.github.com/repos/clearlinux/mixer-tools","labels_url":"https://api.github.com/repos/clearlinux/mixer-tools/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/clearlinux/mixer-tools/issues/403/comments","events_url":"https://api.github.com/repos/clearlinux/mixer-tools/issues/403/events","html_url":"https://github.com/clearlinux/mixer-tools/pull/403","id":351330380,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4OTU1MDY1","number":403,"title":"bundles: fix data race in building bundles","user":{"login":"matthewrsj","id":12090084,"node_id":"MDQ6VXNlcjEyMDkwMDg0","avatar_url":"https://avatars0.githubusercontent.com/u/12090084?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewrsj","html_url":"https://github.com/matthewrsj","followers_url":"https://api.github.com/users/matthewrsj/followers","following_url":"https://api.github.com/users/matthewrsj/following{/other_user}","gists_url":"https://api.github.com/users/matthewrsj/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrsj/subscriptions","organizations_url":"https://api.github.com/users/matthewrsj/orgs","repos_url":"https://api.github.com/users/matthewrsj/repos","events_url":"https://api.github.com/users/matthewrsj/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrsj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-16T19:05:38Z","updated_at":"2018-08-16T19:17:21Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/clearlinux/mixer-tools/pulls/403","html_url":"https://github.com/clearlinux/mixer-tools/pull/403","diff_url":"https://github.com/clearlinux/mixer-tools/pull/403.diff","patch_url":"https://github.com/clearlinux/mixer-tools/pull/403.patch"},"body":"Two issues, first is resolved by renaming the error variable to a\r\ngoroutine isn't sharing err from outer scope with all other goroutines.\r\n\r\nThe second issue is resolved by locking concurrent writes on the same\r\nmap and using a sync.Map to safely read a map via the Range function.\r\n\r\nSigned-off-by: Matthew Johnson <matthew.johnson@intel.com>"},"comment":{"url":"https://api.github.com/repos/clearlinux/mixer-tools/issues/comments/413655380","html_url":"https://github.com/clearlinux/mixer-tools/pull/403#issuecomment-413655380","issue_url":"https://api.github.com/repos/clearlinux/mixer-tools/issues/403","id":413655380,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzY1NTM4MA==","user":{"login":"matthewrsj","id":12090084,"node_id":"MDQ6VXNlcjEyMDkwMDg0","avatar_url":"https://avatars0.githubusercontent.com/u/12090084?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewrsj","html_url":"https://github.com/matthewrsj","followers_url":"https://api.github.com/users/matthewrsj/followers","following_url":"https://api.github.com/users/matthewrsj/following{/other_user}","gists_url":"https://api.github.com/users/matthewrsj/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrsj/subscriptions","organizations_url":"https://api.github.com/users/matthewrsj/orgs","repos_url":"https://api.github.com/users/matthewrsj/repos","events_url":"https://api.github.com/users/matthewrsj/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrsj/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T19:17:21Z","updated_at":"2018-08-16T19:17:21Z","author_association":"MEMBER","body":"@tmarcu `s/rp/repoPkgMap/`"}}
{"actor":{"display_login":"matthewrsj"}}