{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/containership/cerebral/pulls/36","id":237400424,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NDAwNDI0","html_url":"https://github.com/containership/cerebral/pull/36","diff_url":"https://github.com/containership/cerebral/pull/36.diff","patch_url":"https://github.com/containership/cerebral/pull/36.patch","issue_url":"https://api.github.com/repos/containership/cerebral/issues/36","number":36,"state":"open","locked":false,"title":"Fix ceiling calculation for percent adjustments","user":{"login":"mattkelly","id":248713,"node_id":"MDQ6VXNlcjI0ODcxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/248713?v=4","gravatar_id":"","url":"https://api.github.com/users/mattkelly","html_url":"https://github.com/mattkelly","followers_url":"https://api.github.com/users/mattkelly/followers","following_url":"https://api.github.com/users/mattkelly/following{/other_user}","gists_url":"https://api.github.com/users/mattkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkelly/subscriptions","organizations_url":"https://api.github.com/users/mattkelly/orgs","repos_url":"https://api.github.com/users/mattkelly/repos","events_url":"https://api.github.com/users/mattkelly/events{/privacy}","received_events_url":"https://api.github.com/users/mattkelly/received_events","type":"User","site_admin":false},"body":"### Description\n\n #### What does this pull request accomplish?\n\n @ashleyschuett noticed that the ceiling calculation is not correct.\n We were taking the ceiling of the result of the entire calculation instead of just the `adjustBy` calculation.\n\n #### What issue(s) does this fix?\n* None\n\n #### Additional Considerations\n\n ### Testing\n\n - Just unit tests - added a test case that failed prior to the fix and now passes\n\n ### Dependencies\n* None","created_at":"2018-12-10T17:17:25Z","updated_at":"2018-12-10T17:17:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/containership/cerebral/pulls/36/commits","review_comments_url":"https://api.github.com/repos/containership/cerebral/pulls/36/comments","review_comment_url":"https://api.github.com/repos/containership/cerebral/pulls/comments{/number}","comments_url":"https://api.github.com/repos/containership/cerebral/issues/36/comments","statuses_url":"https://api.github.com/repos/containership/cerebral/statuses/e333662efbe7645fb86c8d75db9776b4dde3f27f","head":{"label":"mattkelly:bugfix/percent-ceiling","ref":"bugfix/percent-ceiling","sha":"e333662efbe7645fb86c8d75db9776b4dde3f27f","user":{"login":"mattkelly","id":248713,"node_id":"MDQ6VXNlcjI0ODcxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/248713?v=4","gravatar_id":"","url":"https://api.github.com/users/mattkelly","html_url":"https://github.com/mattkelly","followers_url":"https://api.github.com/users/mattkelly/followers","following_url":"https://api.github.com/users/mattkelly/following{/other_user}","gists_url":"https://api.github.com/users/mattkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkelly/subscriptions","organizations_url":"https://api.github.com/users/mattkelly/orgs","repos_url":"https://api.github.com/users/mattkelly/repos","events_url":"https://api.github.com/users/mattkelly/events{/privacy}","received_events_url":"https://api.github.com/users/mattkelly/received_events","type":"User","site_admin":false},"repo":{"id":158097968,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgwOTc5Njg=","name":"cerebral","full_name":"mattkelly/cerebral","private":false,"owner":{"login":"mattkelly","id":248713,"node_id":"MDQ6VXNlcjI0ODcxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/248713?v=4","gravatar_id":"","url":"https://api.github.com/users/mattkelly","html_url":"https://github.com/mattkelly","followers_url":"https://api.github.com/users/mattkelly/followers","following_url":"https://api.github.com/users/mattkelly/following{/other_user}","gists_url":"https://api.github.com/users/mattkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkelly/subscriptions","organizations_url":"https://api.github.com/users/mattkelly/orgs","repos_url":"https://api.github.com/users/mattkelly/repos","events_url":"https://api.github.com/users/mattkelly/events{/privacy}","received_events_url":"https://api.github.com/users/mattkelly/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mattkelly/cerebral","description":"Kubernetes cluster autoscaler with pluggable metrics backends and scaling engines","fork":true,"url":"https://api.github.com/repos/mattkelly/cerebral","forks_url":"https://api.github.com/repos/mattkelly/cerebral/forks","keys_url":"https://api.github.com/repos/mattkelly/cerebral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattkelly/cerebral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattkelly/cerebral/teams","hooks_url":"https://api.github.com/repos/mattkelly/cerebral/hooks","issue_events_url":"https://api.github.com/repos/mattkelly/cerebral/issues/events{/number}","events_url":"https://api.github.com/repos/mattkelly/cerebral/events","assignees_url":"https://api.github.com/repos/mattkelly/cerebral/assignees{/user}","branches_url":"https://api.github.com/repos/mattkelly/cerebral/branches{/branch}","tags_url":"https://api.github.com/repos/mattkelly/cerebral/tags","blobs_url":"https://api.github.com/repos/mattkelly/cerebral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattkelly/cerebral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattkelly/cerebral/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattkelly/cerebral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattkelly/cerebral/statuses/{sha}","languages_url":"https://api.github.com/repos/mattkelly/cerebral/languages","stargazers_url":"https://api.github.com/repos/mattkelly/cerebral/stargazers","contributors_url":"https://api.github.com/repos/mattkelly/cerebral/contributors","subscribers_url":"https://api.github.com/repos/mattkelly/cerebral/subscribers","subscription_url":"https://api.github.com/repos/mattkelly/cerebral/subscription","commits_url":"https://api.github.com/repos/mattkelly/cerebral/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattkelly/cerebral/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattkelly/cerebral/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattkelly/cerebral/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattkelly/cerebral/contents/{+path}","compare_url":"https://api.github.com/repos/mattkelly/cerebral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattkelly/cerebral/merges","archive_url":"https://api.github.com/repos/mattkelly/cerebral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattkelly/cerebral/downloads","issues_url":"https://api.github.com/repos/mattkelly/cerebral/issues{/number}","pulls_url":"https://api.github.com/repos/mattkelly/cerebral/pulls{/number}","milestones_url":"https://api.github.com/repos/mattkelly/cerebral/milestones{/number}","notifications_url":"https://api.github.com/repos/mattkelly/cerebral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattkelly/cerebral/labels{/name}","releases_url":"https://api.github.com/repos/mattkelly/cerebral/releases{/id}","deployments_url":"https://api.github.com/repos/mattkelly/cerebral/deployments","created_at":"2018-11-18T15:27:39Z","updated_at":"2018-12-10T02:08:47Z","pushed_at":"2018-12-10T17:16:20Z","git_url":"git://github.com/mattkelly/cerebral.git","ssh_url":"git@github.com:mattkelly/cerebral.git","clone_url":"https://github.com/mattkelly/cerebral.git","svn_url":"https://github.com/mattkelly/cerebral","homepage":null,"size":188,"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":"containership:master","ref":"master","sha":"845355abee26fb665cb1163d0faf5ed54f8fa085","user":{"login":"containership","id":7675252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NzUyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/7675252?v=4","gravatar_id":"","url":"https://api.github.com/users/containership","html_url":"https://github.com/containership","followers_url":"https://api.github.com/users/containership/followers","following_url":"https://api.github.com/users/containership/following{/other_user}","gists_url":"https://api.github.com/users/containership/gists{/gist_id}","starred_url":"https://api.github.com/users/containership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containership/subscriptions","organizations_url":"https://api.github.com/users/containership/orgs","repos_url":"https://api.github.com/users/containership/repos","events_url":"https://api.github.com/users/containership/events{/privacy}","received_events_url":"https://api.github.com/users/containership/received_events","type":"Organization","site_admin":false},"repo":{"id":158097044,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgwOTcwNDQ=","name":"cerebral","full_name":"containership/cerebral","private":false,"owner":{"login":"containership","id":7675252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NzUyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/7675252?v=4","gravatar_id":"","url":"https://api.github.com/users/containership","html_url":"https://github.com/containership","followers_url":"https://api.github.com/users/containership/followers","following_url":"https://api.github.com/users/containership/following{/other_user}","gists_url":"https://api.github.com/users/containership/gists{/gist_id}","starred_url":"https://api.github.com/users/containership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containership/subscriptions","organizations_url":"https://api.github.com/users/containership/orgs","repos_url":"https://api.github.com/users/containership/repos","events_url":"https://api.github.com/users/containership/events{/privacy}","received_events_url":"https://api.github.com/users/containership/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/containership/cerebral","description":"Kubernetes cluster autoscaler with pluggable metrics backends and scaling engines","fork":false,"url":"https://api.github.com/repos/containership/cerebral","forks_url":"https://api.github.com/repos/containership/cerebral/forks","keys_url":"https://api.github.com/repos/containership/cerebral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/containership/cerebral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/containership/cerebral/teams","hooks_url":"https://api.github.com/repos/containership/cerebral/hooks","issue_events_url":"https://api.github.com/repos/containership/cerebral/issues/events{/number}","events_url":"https://api.github.com/repos/containership/cerebral/events","assignees_url":"https://api.github.com/repos/containership/cerebral/assignees{/user}","branches_url":"https://api.github.com/repos/containership/cerebral/branches{/branch}","tags_url":"https://api.github.com/repos/containership/cerebral/tags","blobs_url":"https://api.github.com/repos/containership/cerebral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/containership/cerebral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/containership/cerebral/git/refs{/sha}","trees_url":"https://api.github.com/repos/containership/cerebral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/containership/cerebral/statuses/{sha}","languages_url":"https://api.github.com/repos/containership/cerebral/languages","stargazers_url":"https://api.github.com/repos/containership/cerebral/stargazers","contributors_url":"https://api.github.com/repos/containership/cerebral/contributors","subscribers_url":"https://api.github.com/repos/containership/cerebral/subscribers","subscription_url":"https://api.github.com/repos/containership/cerebral/subscription","commits_url":"https://api.github.com/repos/containership/cerebral/commits{/sha}","git_commits_url":"https://api.github.com/repos/containership/cerebral/git/commits{/sha}","comments_url":"https://api.github.com/repos/containership/cerebral/comments{/number}","issue_comment_url":"https://api.github.com/repos/containership/cerebral/issues/comments{/number}","contents_url":"https://api.github.com/repos/containership/cerebral/contents/{+path}","compare_url":"https://api.github.com/repos/containership/cerebral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/containership/cerebral/merges","archive_url":"https://api.github.com/repos/containership/cerebral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/containership/cerebral/downloads","issues_url":"https://api.github.com/repos/containership/cerebral/issues{/number}","pulls_url":"https://api.github.com/repos/containership/cerebral/pulls{/number}","milestones_url":"https://api.github.com/repos/containership/cerebral/milestones{/number}","notifications_url":"https://api.github.com/repos/containership/cerebral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/containership/cerebral/labels{/name}","releases_url":"https://api.github.com/repos/containership/cerebral/releases{/id}","deployments_url":"https://api.github.com/repos/containership/cerebral/deployments","created_at":"2018-11-18T15:18:14Z","updated_at":"2018-12-10T02:07:05Z","pushed_at":"2018-12-10T07:32:19Z","git_url":"git://github.com/containership/cerebral.git","ssh_url":"git@github.com:containership/cerebral.git","clone_url":"https://github.com/containership/cerebral.git","svn_url":"https://github.com/containership/cerebral","homepage":null,"size":137,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"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":3,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/containership/cerebral/pulls/36"},"html":{"href":"https://github.com/containership/cerebral/pull/36"},"issue":{"href":"https://api.github.com/repos/containership/cerebral/issues/36"},"comments":{"href":"https://api.github.com/repos/containership/cerebral/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/containership/cerebral/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/containership/cerebral/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/containership/cerebral/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/containership/cerebral/statuses/e333662efbe7645fb86c8d75db9776b4dde3f27f"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"mattkelly"}}