{"action":"created","comment":{"url":"https://api.github.com/repos/tigera/libcalico-go/pulls/comments/72331254","id":72331254,"diff_hunk":"@@ -25,8 +25,8 @@ import (\n )\n \n var (\n-\tmatchBlockAff = regexp.MustCompile(\"^/?/calico/ipam/v2/host/([^/]+)/ipv./block/([^/]+)$\")\n-\ttypeBlockAff  = reflect.TypeOf(BlockAffinity{})\n+\tmatchBlockAffinity = regexp.MustCompile(\"^/?calico/ipam/v2/host/([^/]+)/ipv./block/([^/]+)$\")\n+\ttypeBlockAff       = reflect.TypeOf(BlockAffinity{})","path":"lib/backend/block_affinity.go","position":7,"original_position":7,"commit_id":"32692935e0d1fe222a143192deb323ca39e8ddbf","original_commit_id":"32692935e0d1fe222a143192deb323ca39e8ddbf","user":{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false},"body":"Aff -> Affinity","created_at":"2016-07-26T20:34:11Z","updated_at":"2016-07-26T20:34:11Z","html_url":"https://github.com/tigera/libcalico-go/pull/18#discussion_r72331254","pull_request_url":"https://api.github.com/repos/tigera/libcalico-go/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/tigera/libcalico-go/pulls/comments/72331254"},"html":{"href":"https://github.com/tigera/libcalico-go/pull/18#discussion_r72331254"},"pull_request":{"href":"https://api.github.com/repos/tigera/libcalico-go/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/tigera/libcalico-go/pulls/18","id":78917752,"html_url":"https://github.com/tigera/libcalico-go/pull/18","diff_url":"https://github.com/tigera/libcalico-go/pull/18.diff","patch_url":"https://github.com/tigera/libcalico-go/pull/18.patch","issue_url":"https://api.github.com/repos/tigera/libcalico-go/issues/18","number":18,"state":"open","locked":false,"title":"Fix ipam TODOs","user":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"body":"- Fix a bunch of error handling cases to actually handle different errors.\r\n\r\nBuilt on top of #17 ","created_at":"2016-07-26T20:16:11Z","updated_at":"2016-07-26T20:34:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b58685736883501f331a3ca03dee75e316d781c4","assignee":{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false},"assignees":[{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tigera/libcalico-go/pulls/18/commits","review_comments_url":"https://api.github.com/repos/tigera/libcalico-go/pulls/18/comments","review_comment_url":"https://api.github.com/repos/tigera/libcalico-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tigera/libcalico-go/issues/18/comments","statuses_url":"https://api.github.com/repos/tigera/libcalico-go/statuses/32692935e0d1fe222a143192deb323ca39e8ddbf","head":{"label":"caseydavenport:fix-ipam-todos","ref":"fix-ipam-todos","sha":"32692935e0d1fe222a143192deb323ca39e8ddbf","user":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"repo":{"id":63621502,"name":"libcalico-go","full_name":"caseydavenport/libcalico-go","owner":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caseydavenport/libcalico-go","description":"Golang Calico library functions:  https://www.projectcalico.org","fork":true,"url":"https://api.github.com/repos/caseydavenport/libcalico-go","forks_url":"https://api.github.com/repos/caseydavenport/libcalico-go/forks","keys_url":"https://api.github.com/repos/caseydavenport/libcalico-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caseydavenport/libcalico-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caseydavenport/libcalico-go/teams","hooks_url":"https://api.github.com/repos/caseydavenport/libcalico-go/hooks","issue_events_url":"https://api.github.com/repos/caseydavenport/libcalico-go/issues/events{/number}","events_url":"https://api.github.com/repos/caseydavenport/libcalico-go/events","assignees_url":"https://api.github.com/repos/caseydavenport/libcalico-go/assignees{/user}","branches_url":"https://api.github.com/repos/caseydavenport/libcalico-go/branches{/branch}","tags_url":"https://api.github.com/repos/caseydavenport/libcalico-go/tags","blobs_url":"https://api.github.com/repos/caseydavenport/libcalico-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caseydavenport/libcalico-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caseydavenport/libcalico-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/caseydavenport/libcalico-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caseydavenport/libcalico-go/statuses/{sha}","languages_url":"https://api.github.com/repos/caseydavenport/libcalico-go/languages","stargazers_url":"https://api.github.com/repos/caseydavenport/libcalico-go/stargazers","contributors_url":"https://api.github.com/repos/caseydavenport/libcalico-go/contributors","subscribers_url":"https://api.github.com/repos/caseydavenport/libcalico-go/subscribers","subscription_url":"https://api.github.com/repos/caseydavenport/libcalico-go/subscription","commits_url":"https://api.github.com/repos/caseydavenport/libcalico-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/caseydavenport/libcalico-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/caseydavenport/libcalico-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/caseydavenport/libcalico-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/caseydavenport/libcalico-go/contents/{+path}","compare_url":"https://api.github.com/repos/caseydavenport/libcalico-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caseydavenport/libcalico-go/merges","archive_url":"https://api.github.com/repos/caseydavenport/libcalico-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caseydavenport/libcalico-go/downloads","issues_url":"https://api.github.com/repos/caseydavenport/libcalico-go/issues{/number}","pulls_url":"https://api.github.com/repos/caseydavenport/libcalico-go/pulls{/number}","milestones_url":"https://api.github.com/repos/caseydavenport/libcalico-go/milestones{/number}","notifications_url":"https://api.github.com/repos/caseydavenport/libcalico-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caseydavenport/libcalico-go/labels{/name}","releases_url":"https://api.github.com/repos/caseydavenport/libcalico-go/releases{/id}","deployments_url":"https://api.github.com/repos/caseydavenport/libcalico-go/deployments","created_at":"2016-07-18T17:02:22Z","updated_at":"2016-07-18T17:02:23Z","pushed_at":"2016-07-26T20:22:44Z","git_url":"git://github.com/caseydavenport/libcalico-go.git","ssh_url":"git@github.com:caseydavenport/libcalico-go.git","clone_url":"https://github.com/caseydavenport/libcalico-go.git","svn_url":"https://github.com/caseydavenport/libcalico-go","homepage":null,"size":226,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tigera:master","ref":"master","sha":"5562c67c08df09a8dd09c42a81eeb4275be05b58","user":{"login":"tigera","id":18633690,"avatar_url":"https://avatars.githubusercontent.com/u/18633690?v=3","gravatar_id":"","url":"https://api.github.com/users/tigera","html_url":"https://github.com/tigera","followers_url":"https://api.github.com/users/tigera/followers","following_url":"https://api.github.com/users/tigera/following{/other_user}","gists_url":"https://api.github.com/users/tigera/gists{/gist_id}","starred_url":"https://api.github.com/users/tigera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigera/subscriptions","organizations_url":"https://api.github.com/users/tigera/orgs","repos_url":"https://api.github.com/users/tigera/repos","events_url":"https://api.github.com/users/tigera/events{/privacy}","received_events_url":"https://api.github.com/users/tigera/received_events","type":"Organization","site_admin":false},"repo":{"id":63438319,"name":"libcalico-go","full_name":"tigera/libcalico-go","owner":{"login":"tigera","id":18633690,"avatar_url":"https://avatars.githubusercontent.com/u/18633690?v=3","gravatar_id":"","url":"https://api.github.com/users/tigera","html_url":"https://github.com/tigera","followers_url":"https://api.github.com/users/tigera/followers","following_url":"https://api.github.com/users/tigera/following{/other_user}","gists_url":"https://api.github.com/users/tigera/gists{/gist_id}","starred_url":"https://api.github.com/users/tigera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigera/subscriptions","organizations_url":"https://api.github.com/users/tigera/orgs","repos_url":"https://api.github.com/users/tigera/repos","events_url":"https://api.github.com/users/tigera/events{/privacy}","received_events_url":"https://api.github.com/users/tigera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tigera/libcalico-go","description":"Golang Calico library functions:  https://www.projectcalico.org","fork":false,"url":"https://api.github.com/repos/tigera/libcalico-go","forks_url":"https://api.github.com/repos/tigera/libcalico-go/forks","keys_url":"https://api.github.com/repos/tigera/libcalico-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tigera/libcalico-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tigera/libcalico-go/teams","hooks_url":"https://api.github.com/repos/tigera/libcalico-go/hooks","issue_events_url":"https://api.github.com/repos/tigera/libcalico-go/issues/events{/number}","events_url":"https://api.github.com/repos/tigera/libcalico-go/events","assignees_url":"https://api.github.com/repos/tigera/libcalico-go/assignees{/user}","branches_url":"https://api.github.com/repos/tigera/libcalico-go/branches{/branch}","tags_url":"https://api.github.com/repos/tigera/libcalico-go/tags","blobs_url":"https://api.github.com/repos/tigera/libcalico-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tigera/libcalico-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tigera/libcalico-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/tigera/libcalico-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tigera/libcalico-go/statuses/{sha}","languages_url":"https://api.github.com/repos/tigera/libcalico-go/languages","stargazers_url":"https://api.github.com/repos/tigera/libcalico-go/stargazers","contributors_url":"https://api.github.com/repos/tigera/libcalico-go/contributors","subscribers_url":"https://api.github.com/repos/tigera/libcalico-go/subscribers","subscription_url":"https://api.github.com/repos/tigera/libcalico-go/subscription","commits_url":"https://api.github.com/repos/tigera/libcalico-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/tigera/libcalico-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/tigera/libcalico-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/tigera/libcalico-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/tigera/libcalico-go/contents/{+path}","compare_url":"https://api.github.com/repos/tigera/libcalico-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tigera/libcalico-go/merges","archive_url":"https://api.github.com/repos/tigera/libcalico-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tigera/libcalico-go/downloads","issues_url":"https://api.github.com/repos/tigera/libcalico-go/issues{/number}","pulls_url":"https://api.github.com/repos/tigera/libcalico-go/pulls{/number}","milestones_url":"https://api.github.com/repos/tigera/libcalico-go/milestones{/number}","notifications_url":"https://api.github.com/repos/tigera/libcalico-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tigera/libcalico-go/labels{/name}","releases_url":"https://api.github.com/repos/tigera/libcalico-go/releases{/id}","deployments_url":"https://api.github.com/repos/tigera/libcalico-go/deployments","created_at":"2016-07-15T17:09:40Z","updated_at":"2016-07-21T00:54:16Z","pushed_at":"2016-07-26T20:22:44Z","git_url":"git://github.com/tigera/libcalico-go.git","ssh_url":"git@github.com:tigera/libcalico-go.git","clone_url":"https://github.com/tigera/libcalico-go.git","svn_url":"https://github.com/tigera/libcalico-go","homepage":null,"size":339,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tigera/libcalico-go/pulls/18"},"html":{"href":"https://github.com/tigera/libcalico-go/pull/18"},"issue":{"href":"https://api.github.com/repos/tigera/libcalico-go/issues/18"},"comments":{"href":"https://api.github.com/repos/tigera/libcalico-go/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/tigera/libcalico-go/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/tigera/libcalico-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tigera/libcalico-go/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/tigera/libcalico-go/statuses/32692935e0d1fe222a143192deb323ca39e8ddbf"}}}}
{"actor":{"display_login":"robbrockbank"}}