{"action":"created","comment":{"url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/comments/74257892","id":74257892,"diff_hunk":"@@ -306,12 +306,12 @@ func (service *WorkflowService) GetAdminStats() *piazza.JsonResponse {\n // GetEventType TODO\n func (service *WorkflowService) GetEventType(id piazza.Ident) *piazza.JsonResponse {\n \n-\tevent, err := service.eventTypeDB.GetOne(piazza.Ident(id))\n-\tif err != nil {\n-\t\treturn service.statusNotFound(id)\n+\tevent, found, err := service.eventTypeDB.GetOne(piazza.Ident(id))\n+\tif !found {\n+\t\treturn service.statusNotFound(err)","path":"workflow/WorkflowService.go","position":22,"original_position":22,"commit_id":"1e4234a28b5e42e51fa985d78155582c663bf70a","original_commit_id":"1e4234a28b5e42e51fa985d78155582c663bf70a","user":{"login":"wkhunt","id":19673476,"avatar_url":"https://avatars.githubusercontent.com/u/19673476?v=3","gravatar_id":"","url":"https://api.github.com/users/wkhunt","html_url":"https://github.com/wkhunt","followers_url":"https://api.github.com/users/wkhunt/followers","following_url":"https://api.github.com/users/wkhunt/following{/other_user}","gists_url":"https://api.github.com/users/wkhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/wkhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkhunt/subscriptions","organizations_url":"https://api.github.com/users/wkhunt/orgs","repos_url":"https://api.github.com/users/wkhunt/repos","events_url":"https://api.github.com/users/wkhunt/events{/privacy}","received_events_url":"https://api.github.com/users/wkhunt/received_events","type":"User","site_admin":false},"body":"Yes, in GetByID in index.go in pz-gocommon/elasticsearch if esi.ItemExists == false, then it returns a GetResult with Found = false and an error  that includes the es id, index, and type","created_at":"2016-08-10T14:43:20Z","updated_at":"2016-08-10T14:43:21Z","html_url":"https://github.com/venicegeo/pz-workflow/pull/69#discussion_r74257892","pull_request_url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/comments/74257892"},"html":{"href":"https://github.com/venicegeo/pz-workflow/pull/69#discussion_r74257892"},"pull_request":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69","id":80656469,"html_url":"https://github.com/venicegeo/pz-workflow/pull/69","diff_url":"https://github.com/venicegeo/pz-workflow/pull/69.diff","patch_url":"https://github.com/venicegeo/pz-workflow/pull/69.patch","issue_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues/69","number":69,"state":"open","locked":false,"title":"5700 404 message","user":{"login":"wkhunt","id":19673476,"avatar_url":"https://avatars.githubusercontent.com/u/19673476?v=3","gravatar_id":"","url":"https://api.github.com/users/wkhunt","html_url":"https://github.com/wkhunt","followers_url":"https://api.github.com/users/wkhunt/followers","following_url":"https://api.github.com/users/wkhunt/following{/other_user}","gists_url":"https://api.github.com/users/wkhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/wkhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkhunt/subscriptions","organizations_url":"https://api.github.com/users/wkhunt/orgs","repos_url":"https://api.github.com/users/wkhunt/repos","events_url":"https://api.github.com/users/wkhunt/events{/privacy}","received_events_url":"https://api.github.com/users/wkhunt/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-09T16:56:58Z","updated_at":"2016-08-10T14:43:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfc13d59f23f16336e03011a9659f2dd6e0a2b32","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69/commits","review_comments_url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69/comments","review_comment_url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues/69/comments","statuses_url":"https://api.github.com/repos/venicegeo/pz-workflow/statuses/1e4234a28b5e42e51fa985d78155582c663bf70a","head":{"label":"venicegeo:5700-404_message","ref":"5700-404_message","sha":"1e4234a28b5e42e51fa985d78155582c663bf70a","user":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"repo":{"id":48852822,"name":"pz-workflow","full_name":"venicegeo/pz-workflow","owner":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/venicegeo/pz-workflow","description":"","fork":false,"url":"https://api.github.com/repos/venicegeo/pz-workflow","forks_url":"https://api.github.com/repos/venicegeo/pz-workflow/forks","keys_url":"https://api.github.com/repos/venicegeo/pz-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/venicegeo/pz-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/venicegeo/pz-workflow/teams","hooks_url":"https://api.github.com/repos/venicegeo/pz-workflow/hooks","issue_events_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/venicegeo/pz-workflow/events","assignees_url":"https://api.github.com/repos/venicegeo/pz-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/venicegeo/pz-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/venicegeo/pz-workflow/tags","blobs_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/venicegeo/pz-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/venicegeo/pz-workflow/languages","stargazers_url":"https://api.github.com/repos/venicegeo/pz-workflow/stargazers","contributors_url":"https://api.github.com/repos/venicegeo/pz-workflow/contributors","subscribers_url":"https://api.github.com/repos/venicegeo/pz-workflow/subscribers","subscription_url":"https://api.github.com/repos/venicegeo/pz-workflow/subscription","commits_url":"https://api.github.com/repos/venicegeo/pz-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/venicegeo/pz-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/venicegeo/pz-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/venicegeo/pz-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/venicegeo/pz-workflow/merges","archive_url":"https://api.github.com/repos/venicegeo/pz-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/venicegeo/pz-workflow/downloads","issues_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/venicegeo/pz-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/venicegeo/pz-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/venicegeo/pz-workflow/labels{/name}","releases_url":"https://api.github.com/repos/venicegeo/pz-workflow/releases{/id}","deployments_url":"https://api.github.com/repos/venicegeo/pz-workflow/deployments","created_at":"2015-12-31T15:00:24Z","updated_at":"2016-02-15T21:22:47Z","pushed_at":"2016-08-10T13:00:48Z","git_url":"git://github.com/venicegeo/pz-workflow.git","ssh_url":"git@github.com:venicegeo/pz-workflow.git","clone_url":"https://github.com/venicegeo/pz-workflow.git","svn_url":"https://github.com/venicegeo/pz-workflow","homepage":null,"size":5048,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"venicegeo:master","ref":"master","sha":"c4122e6082548fd3c898b11e4ad27ae0e083bb78","user":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"repo":{"id":48852822,"name":"pz-workflow","full_name":"venicegeo/pz-workflow","owner":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/venicegeo/pz-workflow","description":"","fork":false,"url":"https://api.github.com/repos/venicegeo/pz-workflow","forks_url":"https://api.github.com/repos/venicegeo/pz-workflow/forks","keys_url":"https://api.github.com/repos/venicegeo/pz-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/venicegeo/pz-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/venicegeo/pz-workflow/teams","hooks_url":"https://api.github.com/repos/venicegeo/pz-workflow/hooks","issue_events_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/venicegeo/pz-workflow/events","assignees_url":"https://api.github.com/repos/venicegeo/pz-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/venicegeo/pz-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/venicegeo/pz-workflow/tags","blobs_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/venicegeo/pz-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/venicegeo/pz-workflow/languages","stargazers_url":"https://api.github.com/repos/venicegeo/pz-workflow/stargazers","contributors_url":"https://api.github.com/repos/venicegeo/pz-workflow/contributors","subscribers_url":"https://api.github.com/repos/venicegeo/pz-workflow/subscribers","subscription_url":"https://api.github.com/repos/venicegeo/pz-workflow/subscription","commits_url":"https://api.github.com/repos/venicegeo/pz-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/venicegeo/pz-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/venicegeo/pz-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/venicegeo/pz-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/venicegeo/pz-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/venicegeo/pz-workflow/merges","archive_url":"https://api.github.com/repos/venicegeo/pz-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/venicegeo/pz-workflow/downloads","issues_url":"https://api.github.com/repos/venicegeo/pz-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/venicegeo/pz-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/venicegeo/pz-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/venicegeo/pz-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/venicegeo/pz-workflow/labels{/name}","releases_url":"https://api.github.com/repos/venicegeo/pz-workflow/releases{/id}","deployments_url":"https://api.github.com/repos/venicegeo/pz-workflow/deployments","created_at":"2015-12-31T15:00:24Z","updated_at":"2016-02-15T21:22:47Z","pushed_at":"2016-08-10T13:00:48Z","git_url":"git://github.com/venicegeo/pz-workflow.git","ssh_url":"git@github.com:venicegeo/pz-workflow.git","clone_url":"https://github.com/venicegeo/pz-workflow.git","svn_url":"https://github.com/venicegeo/pz-workflow","homepage":null,"size":5048,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69"},"html":{"href":"https://github.com/venicegeo/pz-workflow/pull/69"},"issue":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/issues/69"},"comments":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/venicegeo/pz-workflow/statuses/1e4234a28b5e42e51fa985d78155582c663bf70a"}}}}
{"actor":{"display_login":"wkhunt"}}