{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/75019959","id":75019959,"diff_hunk":"@@ -9,6 +9,10 @@ const (\n \t// objects associated with the idled endpoints\n \tUnidleTargetAnnotation = \"idling.alpha.openshift.io/unidle-targets\"\n \n+\t// PreviousScaleAnnotation contains the previous scale of a scalable object\n+\t// (currently only applied by the idler)\n+\tPreviousScaleAnnotation = \"scale.openshift.io/previous-scale\"","path":"pkg/unidling/api/types.go","position":6,"original_position":6,"commit_id":"36afd51a22f66f41866d6fd40f32614f48489bce","original_commit_id":"36afd51a22f66f41866d6fd40f32614f48489bce","user":{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false},"body":"(although using `scale.openshift.io` instead of `scale.kubernetes.io` might complicate that somewhat)","created_at":"2016-08-16T21:05:14Z","updated_at":"2016-08-16T21:05:14Z","html_url":"https://github.com/openshift/origin/pull/10421#discussion_r75019959","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/10421","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/75019959"},"html":{"href":"https://github.com/openshift/origin/pull/10421#discussion_r75019959"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/10421"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10421","id":81349388,"html_url":"https://github.com/openshift/origin/pull/10421","diff_url":"https://github.com/openshift/origin/pull/10421.diff","patch_url":"https://github.com/openshift/origin/pull/10421.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/10421","number":10421,"state":"open","locked":false,"title":"Add previous-scale annotation for idled resources","user":{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false},"body":"This records the previous scale of an idled resource on idling.\r\nThis is useful in situations where finding and loading the associated\r\nendpoints object would non-ideal (e.g. the web console).","created_at":"2016-08-15T18:01:58Z","updated_at":"2016-08-16T21:05:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e73bb185e6913e1afb7bb910e3882ec1fd8cfe37","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/10421/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/10421/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10421/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/36afd51a22f66f41866d6fd40f32614f48489bce","head":{"label":"DirectXMan12:feature/idling-prev-scale","ref":"feature/idling-prev-scale","sha":"36afd51a22f66f41866d6fd40f32614f48489bce","user":{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false},"repo":{"id":44701804,"name":"origin","full_name":"DirectXMan12/origin","owner":{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DirectXMan12/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/DirectXMan12/origin","forks_url":"https://api.github.com/repos/DirectXMan12/origin/forks","keys_url":"https://api.github.com/repos/DirectXMan12/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DirectXMan12/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DirectXMan12/origin/teams","hooks_url":"https://api.github.com/repos/DirectXMan12/origin/hooks","issue_events_url":"https://api.github.com/repos/DirectXMan12/origin/issues/events{/number}","events_url":"https://api.github.com/repos/DirectXMan12/origin/events","assignees_url":"https://api.github.com/repos/DirectXMan12/origin/assignees{/user}","branches_url":"https://api.github.com/repos/DirectXMan12/origin/branches{/branch}","tags_url":"https://api.github.com/repos/DirectXMan12/origin/tags","blobs_url":"https://api.github.com/repos/DirectXMan12/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DirectXMan12/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DirectXMan12/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/DirectXMan12/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DirectXMan12/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/DirectXMan12/origin/languages","stargazers_url":"https://api.github.com/repos/DirectXMan12/origin/stargazers","contributors_url":"https://api.github.com/repos/DirectXMan12/origin/contributors","subscribers_url":"https://api.github.com/repos/DirectXMan12/origin/subscribers","subscription_url":"https://api.github.com/repos/DirectXMan12/origin/subscription","commits_url":"https://api.github.com/repos/DirectXMan12/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/DirectXMan12/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/DirectXMan12/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/DirectXMan12/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/DirectXMan12/origin/contents/{+path}","compare_url":"https://api.github.com/repos/DirectXMan12/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DirectXMan12/origin/merges","archive_url":"https://api.github.com/repos/DirectXMan12/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DirectXMan12/origin/downloads","issues_url":"https://api.github.com/repos/DirectXMan12/origin/issues{/number}","pulls_url":"https://api.github.com/repos/DirectXMan12/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/DirectXMan12/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/DirectXMan12/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DirectXMan12/origin/labels{/name}","releases_url":"https://api.github.com/repos/DirectXMan12/origin/releases{/id}","deployments_url":"https://api.github.com/repos/DirectXMan12/origin/deployments","created_at":"2015-10-21T20:18:34Z","updated_at":"2015-10-21T20:19:02Z","pushed_at":"2016-08-16T20:48:40Z","git_url":"git://github.com/DirectXMan12/origin.git","ssh_url":"git@github.com:DirectXMan12/origin.git","clone_url":"https://github.com/DirectXMan12/origin.git","svn_url":"https://github.com/DirectXMan12/origin","homepage":"http://www.openshift.org","size":313589,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"b6b0bae7db90d0047891cb5c1342b494fd91c87d","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"Enterprise-Ready Kubernetes for Developers","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/origin/deployments","created_at":"2014-07-30T20:04:05Z","updated_at":"2016-08-16T09:44:30Z","pushed_at":"2016-08-16T20:59:54Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":563960,"stargazers_count":1599,"watchers_count":1599,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":993,"mirror_url":null,"open_issues_count":1106,"forks":993,"open_issues":1106,"watchers":1599,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/10421"},"html":{"href":"https://github.com/openshift/origin/pull/10421"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/10421"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/10421/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/10421/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/10421/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/36afd51a22f66f41866d6fd40f32614f48489bce"}}}}
{"actor":{"display_login":"DirectXMan12"}}