payload: {"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/1","id":349817783,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ5ODE3Nzgz","html_url":"https://github.com/Fullstop000/raft-rs/pull/1","diff_url":"https://github.com/Fullstop000/raft-rs/pull/1.diff","patch_url":"https://github.com/Fullstop000/raft-rs/pull/1.patch","issue_url":"https://api.github.com/repos/Fullstop000/raft-rs/issues/1","number":1,"state":"closed","locked":false,"title":"simplify code","user":{"login":"hicqu","id":8407317,"node_id":"MDQ6VXNlcjg0MDczMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8407317?v=4","gravatar_id":"","url":"https://api.github.com/users/hicqu","html_url":"https://github.com/hicqu","followers_url":"https://api.github.com/users/hicqu/followers","following_url":"https://api.github.com/users/hicqu/following{/other_user}","gists_url":"https://api.github.com/users/hicqu/gists{/gist_id}","starred_url":"https://api.github.com/users/hicqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hicqu/subscriptions","organizations_url":"https://api.github.com/users/hicqu/orgs","repos_url":"https://api.github.com/users/hicqu/repos","events_url":"https://api.github.com/users/hicqu/events{/privacy}","received_events_url":"https://api.github.com/users/hicqu/received_events","type":"User","site_admin":false},"body":"Signed-off-by: qupeng <qupeng@pingcap.com>","created_at":"2019-12-06T08:10:42Z","updated_at":"2019-12-09T06:04:51Z","closed_at":"2019-12-09T06:04:51Z","merged_at":"2019-12-09T06:04:51Z","merge_commit_sha":"79231e400c83e63bcf9eb02018f5b6ebe2b7f7aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fullstop000/raft-rs/issues/1/comments","statuses_url":"https://api.github.com/repos/Fullstop000/raft-rs/statuses/7bc31244208f4601d16a8e11123759218543cefe","head":{"label":"hicqu:follower_replication","ref":"follower_replication","sha":"7bc31244208f4601d16a8e11123759218543cefe","user":{"login":"hicqu","id":8407317,"node_id":"MDQ6VXNlcjg0MDczMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8407317?v=4","gravatar_id":"","url":"https://api.github.com/users/hicqu","html_url":"https://github.com/hicqu","followers_url":"https://api.github.com/users/hicqu/followers","following_url":"https://api.github.com/users/hicqu/following{/other_user}","gists_url":"https://api.github.com/users/hicqu/gists{/gist_id}","starred_url":"https://api.github.com/users/hicqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hicqu/subscriptions","organizations_url":"https://api.github.com/users/hicqu/orgs","repos_url":"https://api.github.com/users/hicqu/repos","events_url":"https://api.github.com/users/hicqu/events{/privacy}","received_events_url":"https://api.github.com/users/hicqu/received_events","type":"User","site_admin":false},"repo":{"id":125848611,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU4NDg2MTE=","name":"raft-rs","full_name":"hicqu/raft-rs","private":false,"owner":{"login":"hicqu","id":8407317,"node_id":"MDQ6VXNlcjg0MDczMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8407317?v=4","gravatar_id":"","url":"https://api.github.com/users/hicqu","html_url":"https://github.com/hicqu","followers_url":"https://api.github.com/users/hicqu/followers","following_url":"https://api.github.com/users/hicqu/following{/other_user}","gists_url":"https://api.github.com/users/hicqu/gists{/gist_id}","starred_url":"https://api.github.com/users/hicqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hicqu/subscriptions","organizations_url":"https://api.github.com/users/hicqu/orgs","repos_url":"https://api.github.com/users/hicqu/repos","events_url":"https://api.github.com/users/hicqu/events{/privacy}","received_events_url":"https://api.github.com/users/hicqu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hicqu/raft-rs","description":"Raft distributed consensus algorithm implemented in Rust.","fork":true,"url":"https://api.github.com/repos/hicqu/raft-rs","forks_url":"https://api.github.com/repos/hicqu/raft-rs/forks","keys_url":"https://api.github.com/repos/hicqu/raft-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hicqu/raft-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hicqu/raft-rs/teams","hooks_url":"https://api.github.com/repos/hicqu/raft-rs/hooks","issue_events_url":"https://api.github.com/repos/hicqu/raft-rs/issues/events{/number}","events_url":"https://api.github.com/repos/hicqu/raft-rs/events","assignees_url":"https://api.github.com/repos/hicqu/raft-rs/assignees{/user}","branches_url":"https://api.github.com/repos/hicqu/raft-rs/branches{/branch}","tags_url":"https://api.github.com/repos/hicqu/raft-rs/tags","blobs_url":"https://api.github.com/repos/hicqu/raft-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hicqu/raft-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hicqu/raft-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/hicqu/raft-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hicqu/raft-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/hicqu/raft-rs/languages","stargazers_url":"https://api.github.com/repos/hicqu/raft-rs/stargazers","contributors_url":"https://api.github.com/repos/hicqu/raft-rs/contributors","subscribers_url":"https://api.github.com/repos/hicqu/raft-rs/subscribers","subscription_url":"https://api.github.com/repos/hicqu/raft-rs/subscription","commits_url":"https://api.github.com/repos/hicqu/raft-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/hicqu/raft-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/hicqu/raft-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/hicqu/raft-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/hicqu/raft-rs/contents/{+path}","compare_url":"https://api.github.com/repos/hicqu/raft-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hicqu/raft-rs/merges","archive_url":"https://api.github.com/repos/hicqu/raft-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hicqu/raft-rs/downloads","issues_url":"https://api.github.com/repos/hicqu/raft-rs/issues{/number}","pulls_url":"https://api.github.com/repos/hicqu/raft-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/hicqu/raft-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/hicqu/raft-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hicqu/raft-rs/labels{/name}","releases_url":"https://api.github.com/repos/hicqu/raft-rs/releases{/id}","deployments_url":"https://api.github.com/repos/hicqu/raft-rs/deployments","created_at":"2018-03-19T11:41:11Z","updated_at":"2019-10-22T12:52:10Z","pushed_at":"2019-12-09T05:49:16Z","git_url":"git://github.com/hicqu/raft-rs.git","ssh_url":"git@github.com:hicqu/raft-rs.git","clone_url":"https://github.com/hicqu/raft-rs.git","svn_url":"https://github.com/hicqu/raft-rs","homepage":"","size":2085,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Fullstop000:follower_replication","ref":"follower_replication","sha":"7a7a0f2da6b8b05460b0d1282f811b466ef01517","user":{"login":"Fullstop000","id":12471960,"node_id":"MDQ6VXNlcjEyNDcxOTYw","avatar_url":"https://avatars1.githubusercontent.com/u/12471960?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullstop000","html_url":"https://github.com/Fullstop000","followers_url":"https://api.github.com/users/Fullstop000/followers","following_url":"https://api.github.com/users/Fullstop000/following{/other_user}","gists_url":"https://api.github.com/users/Fullstop000/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullstop000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullstop000/subscriptions","organizations_url":"https://api.github.com/users/Fullstop000/orgs","repos_url":"https://api.github.com/users/Fullstop000/repos","events_url":"https://api.github.com/users/Fullstop000/events{/privacy}","received_events_url":"https://api.github.com/users/Fullstop000/received_events","type":"User","site_admin":false},"repo":{"id":163067479,"node_id":"MDEwOlJlcG9zaXRvcnkxNjMwNjc0Nzk=","name":"raft-rs","full_name":"Fullstop000/raft-rs","private":false,"owner":{"login":"Fullstop000","id":12471960,"node_id":"MDQ6VXNlcjEyNDcxOTYw","avatar_url":"https://avatars1.githubusercontent.com/u/12471960?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullstop000","html_url":"https://github.com/Fullstop000","followers_url":"https://api.github.com/users/Fullstop000/followers","following_url":"https://api.github.com/users/Fullstop000/following{/other_user}","gists_url":"https://api.github.com/users/Fullstop000/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullstop000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullstop000/subscriptions","organizations_url":"https://api.github.com/users/Fullstop000/orgs","repos_url":"https://api.github.com/users/Fullstop000/repos","events_url":"https://api.github.com/users/Fullstop000/events{/privacy}","received_events_url":"https://api.github.com/users/Fullstop000/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Fullstop000/raft-rs","description":"Raft distributed consensus algorithm implemented in Rust.","fork":true,"url":"https://api.github.com/repos/Fullstop000/raft-rs","forks_url":"https://api.github.com/repos/Fullstop000/raft-rs/forks","keys_url":"https://api.github.com/repos/Fullstop000/raft-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fullstop000/raft-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fullstop000/raft-rs/teams","hooks_url":"https://api.github.com/repos/Fullstop000/raft-rs/hooks","issue_events_url":"https://api.github.com/repos/Fullstop000/raft-rs/issues/events{/number}","events_url":"https://api.github.com/repos/Fullstop000/raft-rs/events","assignees_url":"https://api.github.com/repos/Fullstop000/raft-rs/assignees{/user}","branches_url":"https://api.github.com/repos/Fullstop000/raft-rs/branches{/branch}","tags_url":"https://api.github.com/repos/Fullstop000/raft-rs/tags","blobs_url":"https://api.github.com/repos/Fullstop000/raft-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fullstop000/raft-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fullstop000/raft-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fullstop000/raft-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fullstop000/raft-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/Fullstop000/raft-rs/languages","stargazers_url":"https://api.github.com/repos/Fullstop000/raft-rs/stargazers","contributors_url":"https://api.github.com/repos/Fullstop000/raft-rs/contributors","subscribers_url":"https://api.github.com/repos/Fullstop000/raft-rs/subscribers","subscription_url":"https://api.github.com/repos/Fullstop000/raft-rs/subscription","commits_url":"https://api.github.com/repos/Fullstop000/raft-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fullstop000/raft-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fullstop000/raft-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fullstop000/raft-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fullstop000/raft-rs/contents/{+path}","compare_url":"https://api.github.com/repos/Fullstop000/raft-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fullstop000/raft-rs/merges","archive_url":"https://api.github.com/repos/Fullstop000/raft-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fullstop000/raft-rs/downloads","issues_url":"https://api.github.com/repos/Fullstop000/raft-rs/issues{/number}","pulls_url":"https://api.github.com/repos/Fullstop000/raft-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/Fullstop000/raft-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/Fullstop000/raft-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fullstop000/raft-rs/labels{/name}","releases_url":"https://api.github.com/repos/Fullstop000/raft-rs/releases{/id}","deployments_url":"https://api.github.com/repos/Fullstop000/raft-rs/deployments","created_at":"2018-12-25T09:18:12Z","updated_at":"2019-12-06T05:53:03Z","pushed_at":"2019-12-09T06:04:51Z","git_url":"git://github.com/Fullstop000/raft-rs.git","ssh_url":"git@github.com:Fullstop000/raft-rs.git","clone_url":"https://github.com/Fullstop000/raft-rs.git","svn_url":"https://github.com/Fullstop000/raft-rs","homepage":"","size":2220,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"follower_replication"}},"_links":{"self":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/1"},"html":{"href":"https://github.com/Fullstop000/raft-rs/pull/1"},"issue":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/issues/1"},"comments":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Fullstop000/raft-rs/statuses/7bc31244208f4601d16a8e11123759218543cefe"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Fullstop000","id":12471960,"node_id":"MDQ6VXNlcjEyNDcxOTYw","avatar_url":"https://avatars1.githubusercontent.com/u/12471960?v=4","gravatar_id":"","url":"https://api.github.com/users/Fullstop000","html_url":"https://github.com/Fullstop000","followers_url":"https://api.github.com/users/Fullstop000/followers","following_url":"https://api.github.com/users/Fullstop000/following{/other_user}","gists_url":"https://api.github.com/users/Fullstop000/gists{/gist_id}","starred_url":"https://api.github.com/users/Fullstop000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fullstop000/subscriptions","organizations_url":"https://api.github.com/users/Fullstop000/orgs","repos_url":"https://api.github.com/users/Fullstop000/repos","events_url":"https://api.github.com/users/Fullstop000/events{/privacy}","received_events_url":"https://api.github.com/users/Fullstop000/received_events","type":"User","site_admin":false},"comments":0,"review_comments":7,"maintainer_can_modify":false,"commits":6,"additions":239,"deletions":487,"changed_files":7}}
other: {"actor":{"display_login":"Fullstop000"}}