{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/timehop/golog/pulls/8","id":41354254,"html_url":"https://github.com/timehop/golog/pull/8","diff_url":"https://github.com/timehop/golog/pull/8.diff","patch_url":"https://github.com/timehop/golog/pull/8.patch","issue_url":"https://api.github.com/repos/timehop/golog/issues/8","number":8,"state":"open","locked":false,"title":"Treat odd # key-value pairs as corruption","user":{"login":"heewa","id":232685,"avatar_url":"https://avatars.githubusercontent.com/u/232685?v=3","gravatar_id":"","url":"https://api.github.com/users/heewa","html_url":"https://github.com/heewa","followers_url":"https://api.github.com/users/heewa/followers","following_url":"https://api.github.com/users/heewa/following{/other_user}","gists_url":"https://api.github.com/users/heewa/gists{/gist_id}","starred_url":"https://api.github.com/users/heewa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heewa/subscriptions","organizations_url":"https://api.github.com/users/heewa/orgs","repos_url":"https://api.github.com/users/heewa/repos","events_url":"https://api.github.com/users/heewa/events{/privacy}","received_events_url":"https://api.github.com/users/heewa/received_events","type":"User","site_admin":false},"body":"If an odd # of key-value pairs are supplied, the most likely case is a missing key or value in the middle of the array, which shifts what used to be values to keys, which means corrupt keys. This is bad for things that rely on keys menaing something, like logs as data metrics, or centralized logging with fields as typed values.\r\n\r\nThis change flattens odd # kv pairs into a \"corruptFields\" key or \"corruptStaticFields\" for static ones (to avoid discarding non-corrupt static ones when dynamic are fine, and vice versa).\r\n\r\n@kevin-cantwell @kjsteuer ","created_at":"2015-07-31T16:01:20Z","updated_at":"2015-07-31T16:01:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/timehop/golog/pulls/8/commits","review_comments_url":"https://api.github.com/repos/timehop/golog/pulls/8/comments","review_comment_url":"https://api.github.com/repos/timehop/golog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timehop/golog/issues/8/comments","statuses_url":"https://api.github.com/repos/timehop/golog/statuses/205ba0d32bebcc4ba120689abd9a8f1e8ae1a5bc","head":{"label":"timehop:hb-reject-keyval-missuses","ref":"hb-reject-keyval-missuses","sha":"205ba0d32bebcc4ba120689abd9a8f1e8ae1a5bc","user":{"login":"timehop","id":1259053,"avatar_url":"https://avatars.githubusercontent.com/u/1259053?v=3","gravatar_id":"","url":"https://api.github.com/users/timehop","html_url":"https://github.com/timehop","followers_url":"https://api.github.com/users/timehop/followers","following_url":"https://api.github.com/users/timehop/following{/other_user}","gists_url":"https://api.github.com/users/timehop/gists{/gist_id}","starred_url":"https://api.github.com/users/timehop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timehop/subscriptions","organizations_url":"https://api.github.com/users/timehop/orgs","repos_url":"https://api.github.com/users/timehop/repos","events_url":"https://api.github.com/users/timehop/events{/privacy}","received_events_url":"https://api.github.com/users/timehop/received_events","type":"Organization","site_admin":false},"repo":{"id":21625408,"name":"golog","full_name":"timehop/golog","owner":{"login":"timehop","id":1259053,"avatar_url":"https://avatars.githubusercontent.com/u/1259053?v=3","gravatar_id":"","url":"https://api.github.com/users/timehop","html_url":"https://github.com/timehop","followers_url":"https://api.github.com/users/timehop/followers","following_url":"https://api.github.com/users/timehop/following{/other_user}","gists_url":"https://api.github.com/users/timehop/gists{/gist_id}","starred_url":"https://api.github.com/users/timehop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timehop/subscriptions","organizations_url":"https://api.github.com/users/timehop/orgs","repos_url":"https://api.github.com/users/timehop/repos","events_url":"https://api.github.com/users/timehop/events{/privacy}","received_events_url":"https://api.github.com/users/timehop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timehop/golog","description":"Severity-based key/value logging replacement for Go's standard logger.","fork":false,"url":"https://api.github.com/repos/timehop/golog","forks_url":"https://api.github.com/repos/timehop/golog/forks","keys_url":"https://api.github.com/repos/timehop/golog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timehop/golog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timehop/golog/teams","hooks_url":"https://api.github.com/repos/timehop/golog/hooks","issue_events_url":"https://api.github.com/repos/timehop/golog/issues/events{/number}","events_url":"https://api.github.com/repos/timehop/golog/events","assignees_url":"https://api.github.com/repos/timehop/golog/assignees{/user}","branches_url":"https://api.github.com/repos/timehop/golog/branches{/branch}","tags_url":"https://api.github.com/repos/timehop/golog/tags","blobs_url":"https://api.github.com/repos/timehop/golog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timehop/golog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timehop/golog/git/refs{/sha}","trees_url":"https://api.github.com/repos/timehop/golog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timehop/golog/statuses/{sha}","languages_url":"https://api.github.com/repos/timehop/golog/languages","stargazers_url":"https://api.github.com/repos/timehop/golog/stargazers","contributors_url":"https://api.github.com/repos/timehop/golog/contributors","subscribers_url":"https://api.github.com/repos/timehop/golog/subscribers","subscription_url":"https://api.github.com/repos/timehop/golog/subscription","commits_url":"https://api.github.com/repos/timehop/golog/commits{/sha}","git_commits_url":"https://api.github.com/repos/timehop/golog/git/commits{/sha}","comments_url":"https://api.github.com/repos/timehop/golog/comments{/number}","issue_comment_url":"https://api.github.com/repos/timehop/golog/issues/comments{/number}","contents_url":"https://api.github.com/repos/timehop/golog/contents/{+path}","compare_url":"https://api.github.com/repos/timehop/golog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timehop/golog/merges","archive_url":"https://api.github.com/repos/timehop/golog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timehop/golog/downloads","issues_url":"https://api.github.com/repos/timehop/golog/issues{/number}","pulls_url":"https://api.github.com/repos/timehop/golog/pulls{/number}","milestones_url":"https://api.github.com/repos/timehop/golog/milestones{/number}","notifications_url":"https://api.github.com/repos/timehop/golog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timehop/golog/labels{/name}","releases_url":"https://api.github.com/repos/timehop/golog/releases{/id}","created_at":"2014-07-08T18:46:17Z","updated_at":"2015-07-25T09:08:18Z","pushed_at":"2015-07-31T15:58:35Z","git_url":"git://github.com/timehop/golog.git","ssh_url":"git@github.com:timehop/golog.git","clone_url":"https://github.com/timehop/golog.git","svn_url":"https://github.com/timehop/golog","homepage":"https://godoc.org/github.com/timehop/golog","size":341,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":15,"default_branch":"master"}},"base":{"label":"timehop:master","ref":"master","sha":"5b6134f0c2126d4663d2284a94df73b1e7f8d0ce","user":{"login":"timehop","id":1259053,"avatar_url":"https://avatars.githubusercontent.com/u/1259053?v=3","gravatar_id":"","url":"https://api.github.com/users/timehop","html_url":"https://github.com/timehop","followers_url":"https://api.github.com/users/timehop/followers","following_url":"https://api.github.com/users/timehop/following{/other_user}","gists_url":"https://api.github.com/users/timehop/gists{/gist_id}","starred_url":"https://api.github.com/users/timehop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timehop/subscriptions","organizations_url":"https://api.github.com/users/timehop/orgs","repos_url":"https://api.github.com/users/timehop/repos","events_url":"https://api.github.com/users/timehop/events{/privacy}","received_events_url":"https://api.github.com/users/timehop/received_events","type":"Organization","site_admin":false},"repo":{"id":21625408,"name":"golog","full_name":"timehop/golog","owner":{"login":"timehop","id":1259053,"avatar_url":"https://avatars.githubusercontent.com/u/1259053?v=3","gravatar_id":"","url":"https://api.github.com/users/timehop","html_url":"https://github.com/timehop","followers_url":"https://api.github.com/users/timehop/followers","following_url":"https://api.github.com/users/timehop/following{/other_user}","gists_url":"https://api.github.com/users/timehop/gists{/gist_id}","starred_url":"https://api.github.com/users/timehop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timehop/subscriptions","organizations_url":"https://api.github.com/users/timehop/orgs","repos_url":"https://api.github.com/users/timehop/repos","events_url":"https://api.github.com/users/timehop/events{/privacy}","received_events_url":"https://api.github.com/users/timehop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timehop/golog","description":"Severity-based key/value logging replacement for Go's standard logger.","fork":false,"url":"https://api.github.com/repos/timehop/golog","forks_url":"https://api.github.com/repos/timehop/golog/forks","keys_url":"https://api.github.com/repos/timehop/golog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timehop/golog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timehop/golog/teams","hooks_url":"https://api.github.com/repos/timehop/golog/hooks","issue_events_url":"https://api.github.com/repos/timehop/golog/issues/events{/number}","events_url":"https://api.github.com/repos/timehop/golog/events","assignees_url":"https://api.github.com/repos/timehop/golog/assignees{/user}","branches_url":"https://api.github.com/repos/timehop/golog/branches{/branch}","tags_url":"https://api.github.com/repos/timehop/golog/tags","blobs_url":"https://api.github.com/repos/timehop/golog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timehop/golog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timehop/golog/git/refs{/sha}","trees_url":"https://api.github.com/repos/timehop/golog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timehop/golog/statuses/{sha}","languages_url":"https://api.github.com/repos/timehop/golog/languages","stargazers_url":"https://api.github.com/repos/timehop/golog/stargazers","contributors_url":"https://api.github.com/repos/timehop/golog/contributors","subscribers_url":"https://api.github.com/repos/timehop/golog/subscribers","subscription_url":"https://api.github.com/repos/timehop/golog/subscription","commits_url":"https://api.github.com/repos/timehop/golog/commits{/sha}","git_commits_url":"https://api.github.com/repos/timehop/golog/git/commits{/sha}","comments_url":"https://api.github.com/repos/timehop/golog/comments{/number}","issue_comment_url":"https://api.github.com/repos/timehop/golog/issues/comments{/number}","contents_url":"https://api.github.com/repos/timehop/golog/contents/{+path}","compare_url":"https://api.github.com/repos/timehop/golog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timehop/golog/merges","archive_url":"https://api.github.com/repos/timehop/golog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timehop/golog/downloads","issues_url":"https://api.github.com/repos/timehop/golog/issues{/number}","pulls_url":"https://api.github.com/repos/timehop/golog/pulls{/number}","milestones_url":"https://api.github.com/repos/timehop/golog/milestones{/number}","notifications_url":"https://api.github.com/repos/timehop/golog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timehop/golog/labels{/name}","releases_url":"https://api.github.com/repos/timehop/golog/releases{/id}","created_at":"2014-07-08T18:46:17Z","updated_at":"2015-07-25T09:08:18Z","pushed_at":"2015-07-31T15:58:35Z","git_url":"git://github.com/timehop/golog.git","ssh_url":"git@github.com:timehop/golog.git","clone_url":"https://github.com/timehop/golog.git","svn_url":"https://github.com/timehop/golog","homepage":"https://godoc.org/github.com/timehop/golog","size":341,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timehop/golog/pulls/8"},"html":{"href":"https://github.com/timehop/golog/pull/8"},"issue":{"href":"https://api.github.com/repos/timehop/golog/issues/8"},"comments":{"href":"https://api.github.com/repos/timehop/golog/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/timehop/golog/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/timehop/golog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timehop/golog/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/timehop/golog/statuses/205ba0d32bebcc4ba120689abd9a8f1e8ae1a5bc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":57,"deletions":44,"changed_files":2}}