{"action":"closed","number":1934,"pull_request":{"url":"https://api.github.com/repos/alibaba/pouch/pulls/1934","id":204894031,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0ODk0MDMx","html_url":"https://github.com/alibaba/pouch/pull/1934","diff_url":"https://github.com/alibaba/pouch/pull/1934.diff","patch_url":"https://github.com/alibaba/pouch/pull/1934.patch","issue_url":"https://api.github.com/repos/alibaba/pouch/issues/1934","number":1934,"state":"closed","locked":false,"title":"test: add a unit-test for apis/opts/ports.go","user":{"login":"scuzhangp123","id":24266686,"node_id":"MDQ6VXNlcjI0MjY2Njg2","avatar_url":"https://avatars2.githubusercontent.com/u/24266686?v=4","gravatar_id":"","url":"https://api.github.com/users/scuzhangp123","html_url":"https://github.com/scuzhangp123","followers_url":"https://api.github.com/users/scuzhangp123/followers","following_url":"https://api.github.com/users/scuzhangp123/following{/other_user}","gists_url":"https://api.github.com/users/scuzhangp123/gists{/gist_id}","starred_url":"https://api.github.com/users/scuzhangp123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scuzhangp123/subscriptions","organizations_url":"https://api.github.com/users/scuzhangp123/orgs","repos_url":"https://api.github.com/users/scuzhangp123/repos","events_url":"https://api.github.com/users/scuzhangp123/events{/privacy}","received_events_url":"https://api.github.com/users/scuzhangp123/received_events","type":"User","site_admin":false},"body":"\r\nⅠ. Describe what this PR did\r\nadd a unit-test for ports.go\r\n\r\nⅡ. Does this pull request fix one issue?\r\nfix issues #1906\r\n\r\nⅢ. Describe how you did it\r\nBuild unit test by condition combination coverage(ccc).\r\n\r\n Ⅳ. Describe how to verify it\r\nBy code review and walk-through\r\n\r\n Ⅴ. Special notes for reviews\r\nHidden danger of nil pointer is not covered in our test collections\r\nCome from Group 5\r\n\r\n\r\n","created_at":"2018-07-30T18:41:20Z","updated_at":"2018-07-30T18:48:00Z","closed_at":"2018-07-30T18:48:00Z","merged_at":null,"merge_commit_sha":"cea09d4cd65eb00f808c05c00c9aced5a1fc28bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":722339975,"node_id":"MDU6TGFiZWw3MjIzMzk5NzU=","url":"https://api.github.com/repos/alibaba/pouch/labels/areas/test","name":"areas/test","color":"1d76db","default":false},{"id":722354993,"node_id":"MDU6TGFiZWw3MjIzNTQ5OTM=","url":"https://api.github.com/repos/alibaba/pouch/labels/size/S","name":"size/S","color":"98f2a9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/alibaba/pouch/pulls/1934/commits","review_comments_url":"https://api.github.com/repos/alibaba/pouch/pulls/1934/comments","review_comment_url":"https://api.github.com/repos/alibaba/pouch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alibaba/pouch/issues/1934/comments","statuses_url":"https://api.github.com/repos/alibaba/pouch/statuses/39ee4ca8baa02e1199671bc6fe58647754cb73b9","head":{"label":"scuzhangp123:dev","ref":"dev","sha":"39ee4ca8baa02e1199671bc6fe58647754cb73b9","user":{"login":"scuzhangp123","id":24266686,"node_id":"MDQ6VXNlcjI0MjY2Njg2","avatar_url":"https://avatars2.githubusercontent.com/u/24266686?v=4","gravatar_id":"","url":"https://api.github.com/users/scuzhangp123","html_url":"https://github.com/scuzhangp123","followers_url":"https://api.github.com/users/scuzhangp123/followers","following_url":"https://api.github.com/users/scuzhangp123/following{/other_user}","gists_url":"https://api.github.com/users/scuzhangp123/gists{/gist_id}","starred_url":"https://api.github.com/users/scuzhangp123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scuzhangp123/subscriptions","organizations_url":"https://api.github.com/users/scuzhangp123/orgs","repos_url":"https://api.github.com/users/scuzhangp123/repos","events_url":"https://api.github.com/users/scuzhangp123/events{/privacy}","received_events_url":"https://api.github.com/users/scuzhangp123/received_events","type":"User","site_admin":false},"repo":{"id":142648556,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2NDg1NTY=","name":"pouch","full_name":"scuzhangp123/pouch","owner":{"login":"scuzhangp123","id":24266686,"node_id":"MDQ6VXNlcjI0MjY2Njg2","avatar_url":"https://avatars2.githubusercontent.com/u/24266686?v=4","gravatar_id":"","url":"https://api.github.com/users/scuzhangp123","html_url":"https://github.com/scuzhangp123","followers_url":"https://api.github.com/users/scuzhangp123/followers","following_url":"https://api.github.com/users/scuzhangp123/following{/other_user}","gists_url":"https://api.github.com/users/scuzhangp123/gists{/gist_id}","starred_url":"https://api.github.com/users/scuzhangp123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scuzhangp123/subscriptions","organizations_url":"https://api.github.com/users/scuzhangp123/orgs","repos_url":"https://api.github.com/users/scuzhangp123/repos","events_url":"https://api.github.com/users/scuzhangp123/events{/privacy}","received_events_url":"https://api.github.com/users/scuzhangp123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scuzhangp123/pouch","description":"PouchContainer is an open-source project created to promote the container technology movement.","fork":true,"url":"https://api.github.com/repos/scuzhangp123/pouch","forks_url":"https://api.github.com/repos/scuzhangp123/pouch/forks","keys_url":"https://api.github.com/repos/scuzhangp123/pouch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scuzhangp123/pouch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scuzhangp123/pouch/teams","hooks_url":"https://api.github.com/repos/scuzhangp123/pouch/hooks","issue_events_url":"https://api.github.com/repos/scuzhangp123/pouch/issues/events{/number}","events_url":"https://api.github.com/repos/scuzhangp123/pouch/events","assignees_url":"https://api.github.com/repos/scuzhangp123/pouch/assignees{/user}","branches_url":"https://api.github.com/repos/scuzhangp123/pouch/branches{/branch}","tags_url":"https://api.github.com/repos/scuzhangp123/pouch/tags","blobs_url":"https://api.github.com/repos/scuzhangp123/pouch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scuzhangp123/pouch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scuzhangp123/pouch/git/refs{/sha}","trees_url":"https://api.github.com/repos/scuzhangp123/pouch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scuzhangp123/pouch/statuses/{sha}","languages_url":"https://api.github.com/repos/scuzhangp123/pouch/languages","stargazers_url":"https://api.github.com/repos/scuzhangp123/pouch/stargazers","contributors_url":"https://api.github.com/repos/scuzhangp123/pouch/contributors","subscribers_url":"https://api.github.com/repos/scuzhangp123/pouch/subscribers","subscription_url":"https://api.github.com/repos/scuzhangp123/pouch/subscription","commits_url":"https://api.github.com/repos/scuzhangp123/pouch/commits{/sha}","git_commits_url":"https://api.github.com/repos/scuzhangp123/pouch/git/commits{/sha}","comments_url":"https://api.github.com/repos/scuzhangp123/pouch/comments{/number}","issue_comment_url":"https://api.github.com/repos/scuzhangp123/pouch/issues/comments{/number}","contents_url":"https://api.github.com/repos/scuzhangp123/pouch/contents/{+path}","compare_url":"https://api.github.com/repos/scuzhangp123/pouch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scuzhangp123/pouch/merges","archive_url":"https://api.github.com/repos/scuzhangp123/pouch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scuzhangp123/pouch/downloads","issues_url":"https://api.github.com/repos/scuzhangp123/pouch/issues{/number}","pulls_url":"https://api.github.com/repos/scuzhangp123/pouch/pulls{/number}","milestones_url":"https://api.github.com/repos/scuzhangp123/pouch/milestones{/number}","notifications_url":"https://api.github.com/repos/scuzhangp123/pouch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scuzhangp123/pouch/labels{/name}","releases_url":"https://api.github.com/repos/scuzhangp123/pouch/releases{/id}","deployments_url":"https://api.github.com/repos/scuzhangp123/pouch/deployments","created_at":"2018-07-28T05:06:27Z","updated_at":"2018-07-28T05:06:30Z","pushed_at":"2018-07-30T18:36:06Z","git_url":"git://github.com/scuzhangp123/pouch.git","ssh_url":"git@github.com:scuzhangp123/pouch.git","clone_url":"https://github.com/scuzhangp123/pouch.git","svn_url":"https://github.com/scuzhangp123/pouch","homepage":"","size":18440,"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":"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":"alibaba:master","ref":"master","sha":"ba29cd3712488d1438a061e50b049bfd919743e3","user":{"login":"alibaba","id":1961952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjE5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1961952?v=4","gravatar_id":"","url":"https://api.github.com/users/alibaba","html_url":"https://github.com/alibaba","followers_url":"https://api.github.com/users/alibaba/followers","following_url":"https://api.github.com/users/alibaba/following{/other_user}","gists_url":"https://api.github.com/users/alibaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibaba/subscriptions","organizations_url":"https://api.github.com/users/alibaba/orgs","repos_url":"https://api.github.com/users/alibaba/repos","events_url":"https://api.github.com/users/alibaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibaba/received_events","type":"Organization","site_admin":false},"repo":{"id":102555965,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI1NTU5NjU=","name":"pouch","full_name":"alibaba/pouch","owner":{"login":"alibaba","id":1961952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjE5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1961952?v=4","gravatar_id":"","url":"https://api.github.com/users/alibaba","html_url":"https://github.com/alibaba","followers_url":"https://api.github.com/users/alibaba/followers","following_url":"https://api.github.com/users/alibaba/following{/other_user}","gists_url":"https://api.github.com/users/alibaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibaba/subscriptions","organizations_url":"https://api.github.com/users/alibaba/orgs","repos_url":"https://api.github.com/users/alibaba/repos","events_url":"https://api.github.com/users/alibaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibaba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alibaba/pouch","description":"PouchContainer is an open-source project created to promote the container technology movement.","fork":false,"url":"https://api.github.com/repos/alibaba/pouch","forks_url":"https://api.github.com/repos/alibaba/pouch/forks","keys_url":"https://api.github.com/repos/alibaba/pouch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alibaba/pouch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alibaba/pouch/teams","hooks_url":"https://api.github.com/repos/alibaba/pouch/hooks","issue_events_url":"https://api.github.com/repos/alibaba/pouch/issues/events{/number}","events_url":"https://api.github.com/repos/alibaba/pouch/events","assignees_url":"https://api.github.com/repos/alibaba/pouch/assignees{/user}","branches_url":"https://api.github.com/repos/alibaba/pouch/branches{/branch}","tags_url":"https://api.github.com/repos/alibaba/pouch/tags","blobs_url":"https://api.github.com/repos/alibaba/pouch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alibaba/pouch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alibaba/pouch/git/refs{/sha}","trees_url":"https://api.github.com/repos/alibaba/pouch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alibaba/pouch/statuses/{sha}","languages_url":"https://api.github.com/repos/alibaba/pouch/languages","stargazers_url":"https://api.github.com/repos/alibaba/pouch/stargazers","contributors_url":"https://api.github.com/repos/alibaba/pouch/contributors","subscribers_url":"https://api.github.com/repos/alibaba/pouch/subscribers","subscription_url":"https://api.github.com/repos/alibaba/pouch/subscription","commits_url":"https://api.github.com/repos/alibaba/pouch/commits{/sha}","git_commits_url":"https://api.github.com/repos/alibaba/pouch/git/commits{/sha}","comments_url":"https://api.github.com/repos/alibaba/pouch/comments{/number}","issue_comment_url":"https://api.github.com/repos/alibaba/pouch/issues/comments{/number}","contents_url":"https://api.github.com/repos/alibaba/pouch/contents/{+path}","compare_url":"https://api.github.com/repos/alibaba/pouch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alibaba/pouch/merges","archive_url":"https://api.github.com/repos/alibaba/pouch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alibaba/pouch/downloads","issues_url":"https://api.github.com/repos/alibaba/pouch/issues{/number}","pulls_url":"https://api.github.com/repos/alibaba/pouch/pulls{/number}","milestones_url":"https://api.github.com/repos/alibaba/pouch/milestones{/number}","notifications_url":"https://api.github.com/repos/alibaba/pouch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alibaba/pouch/labels{/name}","releases_url":"https://api.github.com/repos/alibaba/pouch/releases{/id}","deployments_url":"https://api.github.com/repos/alibaba/pouch/deployments","created_at":"2017-09-06T03:01:51Z","updated_at":"2018-07-30T16:24:00Z","pushed_at":"2018-07-30T18:41:21Z","git_url":"git://github.com/alibaba/pouch.git","ssh_url":"git@github.com:alibaba/pouch.git","clone_url":"https://github.com/alibaba/pouch.git","svn_url":"https://github.com/alibaba/pouch","homepage":"","size":18464,"stargazers_count":2964,"watchers_count":2964,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":765,"mirror_url":null,"archived":false,"open_issues_count":174,"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":765,"open_issues":174,"watchers":2964,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/1934"},"html":{"href":"https://github.com/alibaba/pouch/pull/1934"},"issue":{"href":"https://api.github.com/repos/alibaba/pouch/issues/1934"},"comments":{"href":"https://api.github.com/repos/alibaba/pouch/issues/1934/comments"},"review_comments":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/1934/comments"},"review_comment":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alibaba/pouch/pulls/1934/commits"},"statuses":{"href":"https://api.github.com/repos/alibaba/pouch/statuses/39ee4ca8baa02e1199671bc6fe58647754cb73b9"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":10,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"scuzhangp123"}}