{"action":"closed","number":142,"pull_request":{"url":"https://api.github.com/repos/mheese/journalbeat/pulls/142","id":174066086,"html_url":"https://github.com/mheese/journalbeat/pull/142","diff_url":"https://github.com/mheese/journalbeat/pull/142.diff","patch_url":"https://github.com/mheese/journalbeat/pull/142.patch","issue_url":"https://api.github.com/repos/mheese/journalbeat/issues/142","number":142,"state":"closed","locked":false,"title":"Flush pending queue only if it changed since the last write","user":{"login":"nicorevin","id":2492836,"avatar_url":"https://avatars3.githubusercontent.com/u/2492836?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorevin","html_url":"https://github.com/nicorevin","followers_url":"https://api.github.com/users/nicorevin/followers","following_url":"https://api.github.com/users/nicorevin/following{/other_user}","gists_url":"https://api.github.com/users/nicorevin/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorevin/subscriptions","organizations_url":"https://api.github.com/users/nicorevin/orgs","repos_url":"https://api.github.com/users/nicorevin/repos","events_url":"https://api.github.com/users/nicorevin/events{/privacy}","received_events_url":"https://api.github.com/users/nicorevin/received_events","type":"User","site_admin":false},"body":"Fixes #140 \r\n/cc @nh2","created_at":"2018-03-09T17:42:25Z","updated_at":"2018-03-12T08:24:24Z","closed_at":"2018-03-12T08:24:24Z","merged_at":"2018-03-12T08:24:24Z","merge_commit_sha":"50de07134774cf5eaf284673849dc7206d39e1b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mheese/journalbeat/pulls/142/commits","review_comments_url":"https://api.github.com/repos/mheese/journalbeat/pulls/142/comments","review_comment_url":"https://api.github.com/repos/mheese/journalbeat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mheese/journalbeat/issues/142/comments","statuses_url":"https://api.github.com/repos/mheese/journalbeat/statuses/7faac1f87a54c5caf9e9076f24c40dc552ffa8a7","head":{"label":"nicorevin:hash-pending-queue","ref":"hash-pending-queue","sha":"7faac1f87a54c5caf9e9076f24c40dc552ffa8a7","user":{"login":"nicorevin","id":2492836,"avatar_url":"https://avatars3.githubusercontent.com/u/2492836?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorevin","html_url":"https://github.com/nicorevin","followers_url":"https://api.github.com/users/nicorevin/followers","following_url":"https://api.github.com/users/nicorevin/following{/other_user}","gists_url":"https://api.github.com/users/nicorevin/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorevin/subscriptions","organizations_url":"https://api.github.com/users/nicorevin/orgs","repos_url":"https://api.github.com/users/nicorevin/repos","events_url":"https://api.github.com/users/nicorevin/events{/privacy}","received_events_url":"https://api.github.com/users/nicorevin/received_events","type":"User","site_admin":false},"repo":{"id":60045337,"name":"journalbeat","full_name":"nicorevin/journalbeat","owner":{"login":"nicorevin","id":2492836,"avatar_url":"https://avatars3.githubusercontent.com/u/2492836?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorevin","html_url":"https://github.com/nicorevin","followers_url":"https://api.github.com/users/nicorevin/followers","following_url":"https://api.github.com/users/nicorevin/following{/other_user}","gists_url":"https://api.github.com/users/nicorevin/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorevin/subscriptions","organizations_url":"https://api.github.com/users/nicorevin/orgs","repos_url":"https://api.github.com/users/nicorevin/repos","events_url":"https://api.github.com/users/nicorevin/events{/privacy}","received_events_url":"https://api.github.com/users/nicorevin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicorevin/journalbeat","description":"Journalbeat is a log shipper from systemd/journald to Logstash/Elasticsearch","fork":true,"url":"https://api.github.com/repos/nicorevin/journalbeat","forks_url":"https://api.github.com/repos/nicorevin/journalbeat/forks","keys_url":"https://api.github.com/repos/nicorevin/journalbeat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicorevin/journalbeat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicorevin/journalbeat/teams","hooks_url":"https://api.github.com/repos/nicorevin/journalbeat/hooks","issue_events_url":"https://api.github.com/repos/nicorevin/journalbeat/issues/events{/number}","events_url":"https://api.github.com/repos/nicorevin/journalbeat/events","assignees_url":"https://api.github.com/repos/nicorevin/journalbeat/assignees{/user}","branches_url":"https://api.github.com/repos/nicorevin/journalbeat/branches{/branch}","tags_url":"https://api.github.com/repos/nicorevin/journalbeat/tags","blobs_url":"https://api.github.com/repos/nicorevin/journalbeat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicorevin/journalbeat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicorevin/journalbeat/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicorevin/journalbeat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicorevin/journalbeat/statuses/{sha}","languages_url":"https://api.github.com/repos/nicorevin/journalbeat/languages","stargazers_url":"https://api.github.com/repos/nicorevin/journalbeat/stargazers","contributors_url":"https://api.github.com/repos/nicorevin/journalbeat/contributors","subscribers_url":"https://api.github.com/repos/nicorevin/journalbeat/subscribers","subscription_url":"https://api.github.com/repos/nicorevin/journalbeat/subscription","commits_url":"https://api.github.com/repos/nicorevin/journalbeat/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicorevin/journalbeat/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicorevin/journalbeat/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicorevin/journalbeat/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicorevin/journalbeat/contents/{+path}","compare_url":"https://api.github.com/repos/nicorevin/journalbeat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicorevin/journalbeat/merges","archive_url":"https://api.github.com/repos/nicorevin/journalbeat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicorevin/journalbeat/downloads","issues_url":"https://api.github.com/repos/nicorevin/journalbeat/issues{/number}","pulls_url":"https://api.github.com/repos/nicorevin/journalbeat/pulls{/number}","milestones_url":"https://api.github.com/repos/nicorevin/journalbeat/milestones{/number}","notifications_url":"https://api.github.com/repos/nicorevin/journalbeat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicorevin/journalbeat/labels{/name}","releases_url":"https://api.github.com/repos/nicorevin/journalbeat/releases{/id}","deployments_url":"https://api.github.com/repos/nicorevin/journalbeat/deployments","created_at":"2016-05-30T23:53:54Z","updated_at":"2016-05-30T23:53:56Z","pushed_at":"2018-03-12T08:20:43Z","git_url":"git://github.com/nicorevin/journalbeat.git","ssh_url":"git@github.com:nicorevin/journalbeat.git","clone_url":"https://github.com/nicorevin/journalbeat.git","svn_url":"https://github.com/nicorevin/journalbeat","homepage":"","size":1017,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mheese:master","ref":"master","sha":"a9ef82d0c6514d055d5a5b47d9a13fbf330db059","user":{"login":"mheese","id":1955729,"avatar_url":"https://avatars2.githubusercontent.com/u/1955729?v=4","gravatar_id":"","url":"https://api.github.com/users/mheese","html_url":"https://github.com/mheese","followers_url":"https://api.github.com/users/mheese/followers","following_url":"https://api.github.com/users/mheese/following{/other_user}","gists_url":"https://api.github.com/users/mheese/gists{/gist_id}","starred_url":"https://api.github.com/users/mheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mheese/subscriptions","organizations_url":"https://api.github.com/users/mheese/orgs","repos_url":"https://api.github.com/users/mheese/repos","events_url":"https://api.github.com/users/mheese/events{/privacy}","received_events_url":"https://api.github.com/users/mheese/received_events","type":"User","site_admin":false},"repo":{"id":50349114,"name":"journalbeat","full_name":"mheese/journalbeat","owner":{"login":"mheese","id":1955729,"avatar_url":"https://avatars2.githubusercontent.com/u/1955729?v=4","gravatar_id":"","url":"https://api.github.com/users/mheese","html_url":"https://github.com/mheese","followers_url":"https://api.github.com/users/mheese/followers","following_url":"https://api.github.com/users/mheese/following{/other_user}","gists_url":"https://api.github.com/users/mheese/gists{/gist_id}","starred_url":"https://api.github.com/users/mheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mheese/subscriptions","organizations_url":"https://api.github.com/users/mheese/orgs","repos_url":"https://api.github.com/users/mheese/repos","events_url":"https://api.github.com/users/mheese/events{/privacy}","received_events_url":"https://api.github.com/users/mheese/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mheese/journalbeat","description":"Journalbeat is a log shipper from systemd/journald to Logstash/Elasticsearch","fork":false,"url":"https://api.github.com/repos/mheese/journalbeat","forks_url":"https://api.github.com/repos/mheese/journalbeat/forks","keys_url":"https://api.github.com/repos/mheese/journalbeat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mheese/journalbeat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mheese/journalbeat/teams","hooks_url":"https://api.github.com/repos/mheese/journalbeat/hooks","issue_events_url":"https://api.github.com/repos/mheese/journalbeat/issues/events{/number}","events_url":"https://api.github.com/repos/mheese/journalbeat/events","assignees_url":"https://api.github.com/repos/mheese/journalbeat/assignees{/user}","branches_url":"https://api.github.com/repos/mheese/journalbeat/branches{/branch}","tags_url":"https://api.github.com/repos/mheese/journalbeat/tags","blobs_url":"https://api.github.com/repos/mheese/journalbeat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mheese/journalbeat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mheese/journalbeat/git/refs{/sha}","trees_url":"https://api.github.com/repos/mheese/journalbeat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mheese/journalbeat/statuses/{sha}","languages_url":"https://api.github.com/repos/mheese/journalbeat/languages","stargazers_url":"https://api.github.com/repos/mheese/journalbeat/stargazers","contributors_url":"https://api.github.com/repos/mheese/journalbeat/contributors","subscribers_url":"https://api.github.com/repos/mheese/journalbeat/subscribers","subscription_url":"https://api.github.com/repos/mheese/journalbeat/subscription","commits_url":"https://api.github.com/repos/mheese/journalbeat/commits{/sha}","git_commits_url":"https://api.github.com/repos/mheese/journalbeat/git/commits{/sha}","comments_url":"https://api.github.com/repos/mheese/journalbeat/comments{/number}","issue_comment_url":"https://api.github.com/repos/mheese/journalbeat/issues/comments{/number}","contents_url":"https://api.github.com/repos/mheese/journalbeat/contents/{+path}","compare_url":"https://api.github.com/repos/mheese/journalbeat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mheese/journalbeat/merges","archive_url":"https://api.github.com/repos/mheese/journalbeat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mheese/journalbeat/downloads","issues_url":"https://api.github.com/repos/mheese/journalbeat/issues{/number}","pulls_url":"https://api.github.com/repos/mheese/journalbeat/pulls{/number}","milestones_url":"https://api.github.com/repos/mheese/journalbeat/milestones{/number}","notifications_url":"https://api.github.com/repos/mheese/journalbeat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mheese/journalbeat/labels{/name}","releases_url":"https://api.github.com/repos/mheese/journalbeat/releases{/id}","deployments_url":"https://api.github.com/repos/mheese/journalbeat/deployments","created_at":"2016-01-25T12:26:01Z","updated_at":"2018-03-11T14:23:40Z","pushed_at":"2018-03-12T08:24:24Z","git_url":"git://github.com/mheese/journalbeat.git","ssh_url":"git@github.com:mheese/journalbeat.git","clone_url":"https://github.com/mheese/journalbeat.git","svn_url":"https://github.com/mheese/journalbeat","homepage":"","size":1041,"stargazers_count":246,"watchers_count":246,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"archived":false,"open_issues_count":32,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":89,"open_issues":32,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mheese/journalbeat/pulls/142"},"html":{"href":"https://github.com/mheese/journalbeat/pull/142"},"issue":{"href":"https://api.github.com/repos/mheese/journalbeat/issues/142"},"comments":{"href":"https://api.github.com/repos/mheese/journalbeat/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/mheese/journalbeat/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/mheese/journalbeat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mheese/journalbeat/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/mheese/journalbeat/statuses/7faac1f87a54c5caf9e9076f24c40dc552ffa8a7"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nicorevin","id":2492836,"avatar_url":"https://avatars3.githubusercontent.com/u/2492836?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorevin","html_url":"https://github.com/nicorevin","followers_url":"https://api.github.com/users/nicorevin/followers","following_url":"https://api.github.com/users/nicorevin/following{/other_user}","gists_url":"https://api.github.com/users/nicorevin/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorevin/subscriptions","organizations_url":"https://api.github.com/users/nicorevin/orgs","repos_url":"https://api.github.com/users/nicorevin/repos","events_url":"https://api.github.com/users/nicorevin/events{/privacy}","received_events_url":"https://api.github.com/users/nicorevin/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"nicorevin"}}