{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/24302547","id":24302547,"diff_hunk":"@@ -112,11 +113,15 @@ func writeEvent(job *engine.Job, event *utils.JSONMessage, eventFilters filters.\n \t\t\tif v == field {\n \t\t\t\treturn false\n \t\t\t}\n+\t\t\tif partialMatch && strings.Contains(field, v) {","path":"events/events.go","position":21,"original_position":21,"commit_id":"a53888c7d5765bb049342acd9cea6df21a89509f","original_commit_id":"a53888c7d5765bb049342acd9cea6df21a89509f","user":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"body":"short version is not partial match. Short version would be using `strings.HasPrefix` instead.","created_at":"2015-02-08T21:18:26Z","updated_at":"2015-02-08T21:18:26Z","html_url":"https://github.com/docker/docker/pull/10646#discussion_r24302547","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/10646","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/24302547"},"html":{"href":"https://github.com/docker/docker/pull/10646#discussion_r24302547"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/10646"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/10646","id":28886241,"html_url":"https://github.com/docker/docker/pull/10646","diff_url":"https://github.com/docker/docker/pull/10646.diff","patch_url":"https://github.com/docker/docker/pull/10646.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/10646","number":10646,"state":"open","locked":false,"title":"Allow partial match of the container Id like shorter versio...","user":{"login":"brahmaroutu","id":5403596,"avatar_url":"https://avatars.githubusercontent.com/u/5403596?v=3","gravatar_id":"","url":"https://api.github.com/users/brahmaroutu","html_url":"https://github.com/brahmaroutu","followers_url":"https://api.github.com/users/brahmaroutu/followers","following_url":"https://api.github.com/users/brahmaroutu/following{/other_user}","gists_url":"https://api.github.com/users/brahmaroutu/gists{/gist_id}","starred_url":"https://api.github.com/users/brahmaroutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brahmaroutu/subscriptions","organizations_url":"https://api.github.com/users/brahmaroutu/orgs","repos_url":"https://api.github.com/users/brahmaroutu/repos","events_url":"https://api.github.com/users/brahmaroutu/events{/privacy}","received_events_url":"https://api.github.com/users/brahmaroutu/received_events","type":"User","site_admin":false},"body":"...n from docker ps\r\n\r\nAddresses #10645\r\n\r\nSigned-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>","created_at":"2015-02-08T20:42:29Z","updated_at":"2015-02-08T21:18:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4064f8804f304c69926a5cb3aa782d4098d4d5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/10646/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/10646/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/docker/docker/issues/10646/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/a53888c7d5765bb049342acd9cea6df21a89509f","head":{"label":"brahmaroutu:events_10645","ref":"events_10645","sha":"a53888c7d5765bb049342acd9cea6df21a89509f","user":{"login":"brahmaroutu","id":5403596,"avatar_url":"https://avatars.githubusercontent.com/u/5403596?v=3","gravatar_id":"","url":"https://api.github.com/users/brahmaroutu","html_url":"https://github.com/brahmaroutu","followers_url":"https://api.github.com/users/brahmaroutu/followers","following_url":"https://api.github.com/users/brahmaroutu/following{/other_user}","gists_url":"https://api.github.com/users/brahmaroutu/gists{/gist_id}","starred_url":"https://api.github.com/users/brahmaroutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brahmaroutu/subscriptions","organizations_url":"https://api.github.com/users/brahmaroutu/orgs","repos_url":"https://api.github.com/users/brahmaroutu/repos","events_url":"https://api.github.com/users/brahmaroutu/events{/privacy}","received_events_url":"https://api.github.com/users/brahmaroutu/received_events","type":"User","site_admin":false},"repo":{"id":23947795,"name":"docker","full_name":"brahmaroutu/docker","owner":{"login":"brahmaroutu","id":5403596,"avatar_url":"https://avatars.githubusercontent.com/u/5403596?v=3","gravatar_id":"","url":"https://api.github.com/users/brahmaroutu","html_url":"https://github.com/brahmaroutu","followers_url":"https://api.github.com/users/brahmaroutu/followers","following_url":"https://api.github.com/users/brahmaroutu/following{/other_user}","gists_url":"https://api.github.com/users/brahmaroutu/gists{/gist_id}","starred_url":"https://api.github.com/users/brahmaroutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brahmaroutu/subscriptions","organizations_url":"https://api.github.com/users/brahmaroutu/orgs","repos_url":"https://api.github.com/users/brahmaroutu/repos","events_url":"https://api.github.com/users/brahmaroutu/events{/privacy}","received_events_url":"https://api.github.com/users/brahmaroutu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brahmaroutu/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/brahmaroutu/docker","forks_url":"https://api.github.com/repos/brahmaroutu/docker/forks","keys_url":"https://api.github.com/repos/brahmaroutu/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brahmaroutu/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brahmaroutu/docker/teams","hooks_url":"https://api.github.com/repos/brahmaroutu/docker/hooks","issue_events_url":"https://api.github.com/repos/brahmaroutu/docker/issues/events{/number}","events_url":"https://api.github.com/repos/brahmaroutu/docker/events","assignees_url":"https://api.github.com/repos/brahmaroutu/docker/assignees{/user}","branches_url":"https://api.github.com/repos/brahmaroutu/docker/branches{/branch}","tags_url":"https://api.github.com/repos/brahmaroutu/docker/tags","blobs_url":"https://api.github.com/repos/brahmaroutu/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brahmaroutu/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brahmaroutu/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/brahmaroutu/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brahmaroutu/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/brahmaroutu/docker/languages","stargazers_url":"https://api.github.com/repos/brahmaroutu/docker/stargazers","contributors_url":"https://api.github.com/repos/brahmaroutu/docker/contributors","subscribers_url":"https://api.github.com/repos/brahmaroutu/docker/subscribers","subscription_url":"https://api.github.com/repos/brahmaroutu/docker/subscription","commits_url":"https://api.github.com/repos/brahmaroutu/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/brahmaroutu/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/brahmaroutu/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/brahmaroutu/docker/issues/comments/{number}","contents_url":"https://api.github.com/repos/brahmaroutu/docker/contents/{+path}","compare_url":"https://api.github.com/repos/brahmaroutu/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brahmaroutu/docker/merges","archive_url":"https://api.github.com/repos/brahmaroutu/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brahmaroutu/docker/downloads","issues_url":"https://api.github.com/repos/brahmaroutu/docker/issues{/number}","pulls_url":"https://api.github.com/repos/brahmaroutu/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/brahmaroutu/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/brahmaroutu/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brahmaroutu/docker/labels{/name}","releases_url":"https://api.github.com/repos/brahmaroutu/docker/releases{/id}","created_at":"2014-09-12T05:17:02Z","updated_at":"2015-02-06T18:14:15Z","pushed_at":"2015-02-08T20:40:21Z","git_url":"git://github.com/brahmaroutu/docker.git","ssh_url":"git@github.com:brahmaroutu/docker.git","clone_url":"https://github.com/brahmaroutu/docker.git","svn_url":"https://github.com/brahmaroutu/docker","homepage":"http://www.docker.com","size":41464,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"04b0bf4c27bed6c07f84b5ad5c252917f912f0cd","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments/{number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-02-08T20:46:23Z","pushed_at":"2015-02-08T20:46:22Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":134081,"stargazers_count":19026,"watchers_count":19026,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3929,"mirror_url":null,"open_issues_count":1001,"forks":3929,"open_issues":1001,"watchers":19026,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/10646"},"html":{"href":"https://github.com/docker/docker/pull/10646"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/10646"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/10646/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/10646/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/10646/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/a53888c7d5765bb049342acd9cea6df21a89509f"}}}}