{"action":"closed","number":10251,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/10251","id":27797664,"html_url":"https://github.com/docker/docker/pull/10251","diff_url":"https://github.com/docker/docker/pull/10251.diff","patch_url":"https://github.com/docker/docker/pull/10251.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/10251","number":10251,"state":"closed","locked":false,"title":"Zero out stats values in the cli","user":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars.githubusercontent.com/u/749551?v=3","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"body":"Based on some feedback, when you have a container via the cli that you\r\nare monitoring for stats, if you stop the container it will stay in the\r\ndisplay but report the last datapoint that was received.\r\n\r\nThis PR changes the display to zero out the values for containers where\r\nan update has not been received within a specified duration, i.e. 2\r\nseconds.  This signals the user that the container has stopped as it\r\nreports cpu and memory usage of 0.\r\n\r\nSigned-off-by: Michael Crosby <crosbymichael@gmail.com>","created_at":"2015-01-21T21:44:38Z","updated_at":"2015-01-22T00:16:55Z","closed_at":"2015-01-22T00:16:55Z","merged_at":"2015-01-22T00:16:55Z","merge_commit_sha":"c1794c21238301640dab7239728e5f32f786082c","assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/34","labels_url":"https://api.github.com/repos/docker/docker/milestones/34/labels","id":906381,"number":34,"title":"1.5.0","description":"### NOTICE:\r\n\r\nIssues and PRs included in milestones are not a guarantee that they will be merged or included in a release. \r\n\r\n### RELEASE MANAGER:\r\n\r\n@icecrime will be the point of contact for the 1.5.0 release. \r\n\r\n### CODE FREEZE:\r\n\r\nCode freeze will begin on January 20th for the final features to be included in Docker 1.5.0.  Any features not merged by this time will not be included **or** considered for a release.  At this time a bump branch with the final commits for this release will be created and an RC will be pushed to https://test.docker.com for QA and testing in advance of the Feb. 3 release. date. ","creator":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars.githubusercontent.com/u/749551?v=3","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":54,"state":"open","created_at":"2014-12-16T23:52:21Z","updated_at":"2015-01-22T00:16:55Z","due_on":"2015-02-03T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/docker/docker/pulls/10251/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/10251/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/docker/docker/issues/10251/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/bbc38497b6f522b0a9c4e5e976abfd79692b8b5f","head":{"label":"crosbymichael:stats-zero","ref":"stats-zero","sha":"bbc38497b6f522b0a9c4e5e976abfd79692b8b5f","user":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars.githubusercontent.com/u/749551?v=3","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"repo":{"id":13808553,"name":"docker","full_name":"crosbymichael/docker","owner":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars.githubusercontent.com/u/749551?v=3","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crosbymichael/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/crosbymichael/docker","forks_url":"https://api.github.com/repos/crosbymichael/docker/forks","keys_url":"https://api.github.com/repos/crosbymichael/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crosbymichael/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crosbymichael/docker/teams","hooks_url":"https://api.github.com/repos/crosbymichael/docker/hooks","issue_events_url":"https://api.github.com/repos/crosbymichael/docker/issues/events{/number}","events_url":"https://api.github.com/repos/crosbymichael/docker/events","assignees_url":"https://api.github.com/repos/crosbymichael/docker/assignees{/user}","branches_url":"https://api.github.com/repos/crosbymichael/docker/branches{/branch}","tags_url":"https://api.github.com/repos/crosbymichael/docker/tags","blobs_url":"https://api.github.com/repos/crosbymichael/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crosbymichael/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crosbymichael/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/crosbymichael/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crosbymichael/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/crosbymichael/docker/languages","stargazers_url":"https://api.github.com/repos/crosbymichael/docker/stargazers","contributors_url":"https://api.github.com/repos/crosbymichael/docker/contributors","subscribers_url":"https://api.github.com/repos/crosbymichael/docker/subscribers","subscription_url":"https://api.github.com/repos/crosbymichael/docker/subscription","commits_url":"https://api.github.com/repos/crosbymichael/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/crosbymichael/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/crosbymichael/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/crosbymichael/docker/issues/comments/{number}","contents_url":"https://api.github.com/repos/crosbymichael/docker/contents/{+path}","compare_url":"https://api.github.com/repos/crosbymichael/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crosbymichael/docker/merges","archive_url":"https://api.github.com/repos/crosbymichael/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crosbymichael/docker/downloads","issues_url":"https://api.github.com/repos/crosbymichael/docker/issues{/number}","pulls_url":"https://api.github.com/repos/crosbymichael/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/crosbymichael/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/crosbymichael/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crosbymichael/docker/labels{/name}","releases_url":"https://api.github.com/repos/crosbymichael/docker/releases{/id}","created_at":"2013-10-23T16:42:55Z","updated_at":"2015-01-21T18:55:18Z","pushed_at":"2015-01-22T00:00:27Z","git_url":"git://github.com/crosbymichael/docker.git","ssh_url":"git@github.com:crosbymichael/docker.git","clone_url":"https://github.com/crosbymichael/docker.git","svn_url":"https://github.com/crosbymichael/docker","homepage":"http://www.docker.io","size":43714,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"f1bc0376b822128888a825c5607cee1d861e1c0b","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-01-22T00:03:28Z","pushed_at":"2015-01-22T00:16:55Z","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":127639,"stargazers_count":18576,"watchers_count":18576,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3802,"mirror_url":null,"open_issues_count":946,"forks":3802,"open_issues":946,"watchers":18576,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/10251"},"html":{"href":"https://github.com/docker/docker/pull/10251"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/10251"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/10251/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/10251/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/10251/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/bbc38497b6f522b0a9c4e5e976abfd79692b8b5f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jfrazelle","id":1445228,"avatar_url":"https://avatars.githubusercontent.com/u/1445228?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrazelle","html_url":"https://github.com/jfrazelle","followers_url":"https://api.github.com/users/jfrazelle/followers","following_url":"https://api.github.com/users/jfrazelle/following{/other_user}","gists_url":"https://api.github.com/users/jfrazelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrazelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrazelle/subscriptions","organizations_url":"https://api.github.com/users/jfrazelle/orgs","repos_url":"https://api.github.com/users/jfrazelle/repos","events_url":"https://api.github.com/users/jfrazelle/events{/privacy}","received_events_url":"https://api.github.com/users/jfrazelle/received_events","type":"User","site_admin":false},"comments":2,"review_comments":3,"commits":1,"additions":43,"deletions":23,"changed_files":1}}