{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/58979011","id":58979011,"diff_hunk":"@@ -48,3 +48,13 @@ func ShuffleStrings(s []string) []string {\n \t}\n \treturn shuffled\n }\n+\n+// StringInSlice checks if str is in slice s\n+func StringInSlice(str string, s []string) bool {","path":"pkg/util/slice/slice.go","position":6,"original_position":6,"commit_id":"db8984c878874649f6d443321ef33ec127109a1c","original_commit_id":"db8984c878874649f6d443321ef33ec127109a1c","user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"body":"Need a robust unit test for this function","created_at":"2016-04-08T04:30:19Z","updated_at":"2016-04-08T04:30:19Z","html_url":"https://github.com/kubernetes/kubernetes/pull/22573#discussion_r58979011","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/58979011"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/22573#discussion_r58979011"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573","id":61794056,"html_url":"https://github.com/kubernetes/kubernetes/pull/22573","diff_url":"https://github.com/kubernetes/kubernetes/pull/22573.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/22573.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22573","number":22573,"state":"open","locked":false,"title":"fixing dead endpoint blackhole udp traffic","user":{"login":"freehan","id":1332699,"avatar_url":"https://avatars.githubusercontent.com/u/1332699?v=3","gravatar_id":"","url":"https://api.github.com/users/freehan","html_url":"https://github.com/freehan","followers_url":"https://api.github.com/users/freehan/followers","following_url":"https://api.github.com/users/freehan/following{/other_user}","gists_url":"https://api.github.com/users/freehan/gists{/gist_id}","starred_url":"https://api.github.com/users/freehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freehan/subscriptions","organizations_url":"https://api.github.com/users/freehan/orgs","repos_url":"https://api.github.com/users/freehan/repos","events_url":"https://api.github.com/users/freehan/events{/privacy}","received_events_url":"https://api.github.com/users/freehan/received_events","type":"User","site_admin":false},"body":"fixes: #19029","created_at":"2016-03-05T01:07:53Z","updated_at":"2016-04-08T04:30:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4b56714a7637426d7a653cd9ff7548593586610","assignee":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22573/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/db8984c878874649f6d443321ef33ec127109a1c","head":{"label":"freehan:udpproxy","ref":"udpproxy","sha":"db8984c878874649f6d443321ef33ec127109a1c","user":{"login":"freehan","id":1332699,"avatar_url":"https://avatars.githubusercontent.com/u/1332699?v=3","gravatar_id":"","url":"https://api.github.com/users/freehan","html_url":"https://github.com/freehan","followers_url":"https://api.github.com/users/freehan/followers","following_url":"https://api.github.com/users/freehan/following{/other_user}","gists_url":"https://api.github.com/users/freehan/gists{/gist_id}","starred_url":"https://api.github.com/users/freehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freehan/subscriptions","organizations_url":"https://api.github.com/users/freehan/orgs","repos_url":"https://api.github.com/users/freehan/repos","events_url":"https://api.github.com/users/freehan/events{/privacy}","received_events_url":"https://api.github.com/users/freehan/received_events","type":"User","site_admin":false},"repo":{"id":45570688,"name":"kubernetes","full_name":"freehan/kubernetes","owner":{"login":"freehan","id":1332699,"avatar_url":"https://avatars.githubusercontent.com/u/1332699?v=3","gravatar_id":"","url":"https://api.github.com/users/freehan","html_url":"https://github.com/freehan","followers_url":"https://api.github.com/users/freehan/followers","following_url":"https://api.github.com/users/freehan/following{/other_user}","gists_url":"https://api.github.com/users/freehan/gists{/gist_id}","starred_url":"https://api.github.com/users/freehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freehan/subscriptions","organizations_url":"https://api.github.com/users/freehan/orgs","repos_url":"https://api.github.com/users/freehan/repos","events_url":"https://api.github.com/users/freehan/events{/privacy}","received_events_url":"https://api.github.com/users/freehan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/freehan/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/freehan/kubernetes","forks_url":"https://api.github.com/repos/freehan/kubernetes/forks","keys_url":"https://api.github.com/repos/freehan/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freehan/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freehan/kubernetes/teams","hooks_url":"https://api.github.com/repos/freehan/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/freehan/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/freehan/kubernetes/events","assignees_url":"https://api.github.com/repos/freehan/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/freehan/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/freehan/kubernetes/tags","blobs_url":"https://api.github.com/repos/freehan/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freehan/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freehan/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/freehan/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freehan/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/freehan/kubernetes/languages","stargazers_url":"https://api.github.com/repos/freehan/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/freehan/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/freehan/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/freehan/kubernetes/subscription","commits_url":"https://api.github.com/repos/freehan/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/freehan/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/freehan/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/freehan/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/freehan/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/freehan/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freehan/kubernetes/merges","archive_url":"https://api.github.com/repos/freehan/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freehan/kubernetes/downloads","issues_url":"https://api.github.com/repos/freehan/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/freehan/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/freehan/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/freehan/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freehan/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/freehan/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/freehan/kubernetes/deployments","created_at":"2015-11-04T22:09:37Z","updated_at":"2016-01-13T01:28:27Z","pushed_at":"2016-04-07T22:42:30Z","git_url":"git://github.com/freehan/kubernetes.git","ssh_url":"git@github.com:freehan/kubernetes.git","clone_url":"https://github.com/freehan/kubernetes.git","svn_url":"https://github.com/freehan/kubernetes","homepage":"http://kubernetes.io","size":186529,"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":"kubernetes:master","ref":"master","sha":"60f5508aad0f46951389562a26daea91bc86c701","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes/deployments","created_at":"2014-06-06T22:56:04Z","updated_at":"2016-04-08T03:51:21Z","pushed_at":"2016-04-08T03:45:14Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":357955,"stargazers_count":13756,"watchers_count":13756,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4044,"mirror_url":null,"open_issues_count":3335,"forks":4044,"open_issues":3335,"watchers":13756,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/22573"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/22573"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/22573/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22573/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/db8984c878874649f6d443321ef33ec127109a1c"}}}}