{"action":"created","comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/comments/167965563","pull_request_review_id":96258626,"id":167965563,"diff_hunk":"@@ -216,15 +222,23 @@ module VSphereCloud\n           }\n         end\n         let(:global_clusters) { [cluster_1, cluster_2] }\n-        let(:smaller_ds) { instance_double(VSphereCloud::Resources::Datastore, free_space: 512) }\n-        let(:larger_ds) { instance_double(VSphereCloud::Resources::Datastore, free_space: 2048) }\n+        let(:host_runtime_info) { instance_double(VimSdk::Vim::Host::RuntimeInfo, in_maintenance_mode: false) }\n+        let(:host_system) {instance_double(VimSdk::Vim::HostSystem, runtime: host_runtime_info)}\n+        let(:datastore_host_mount) { [instance_double('VimSdk::Vim::Datastore::HostMount', key: host_system)]}\n+        let(:smaller_datastore_mob) { instance_double('VimSdk::Vim::Datastore', host: datastore_host_mount) }","path":"src/vsphere_cpi/spec/unit/cloud/vsphere/vm_config_spec.rb","position":22,"original_position":22,"commit_id":"f4e298bc36cb9d46e33ce26333f1876896d63e94","original_commit_id":"f4e298bc36cb9d46e33ce26333f1876896d63e94","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [109/80]","created_at":"2018-02-13T18:55:48Z","updated_at":"2018-02-13T18:55:49Z","html_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/pull/63#discussion_r167965563","pull_request_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/comments/167965563"},"html":{"href":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/pull/63#discussion_r167965563"},"pull_request":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63","id":168927487,"html_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/pull/63","diff_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/pull/63.diff","patch_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/pull/63.patch","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/63","number":63,"state":"open","locked":false,"title":"Add support for checking host under maintenance mode","user":{"login":"EleanorRigby","id":6512426,"avatar_url":"https://avatars2.githubusercontent.com/u/6512426?v=4","gravatar_id":"","url":"https://api.github.com/users/EleanorRigby","html_url":"https://github.com/EleanorRigby","followers_url":"https://api.github.com/users/EleanorRigby/followers","following_url":"https://api.github.com/users/EleanorRigby/following{/other_user}","gists_url":"https://api.github.com/users/EleanorRigby/gists{/gist_id}","starred_url":"https://api.github.com/users/EleanorRigby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EleanorRigby/subscriptions","organizations_url":"https://api.github.com/users/EleanorRigby/orgs","repos_url":"https://api.github.com/users/EleanorRigby/repos","events_url":"https://api.github.com/users/EleanorRigby/events{/privacy}","received_events_url":"https://api.github.com/users/EleanorRigby/received_events","type":"User","site_admin":false},"body":"Add support for host under maintenance mode\r\nAdd unit test for host in maintenance mode changes.\r\nRefactor picker code and datastore(Resource) class\r\nAdd == operator to managed object class.\r\n\r\nPasses all unit and integrations test.","created_at":"2018-02-13T18:55:36Z","updated_at":"2018-02-13T18:55:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"211ccbe200812071c61310985af9fa7705126cb6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63/commits","review_comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63/comments","review_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/63/comments","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/statuses/f4e298bc36cb9d46e33ce26333f1876896d63e94","head":{"label":"cloudfoundry-incubator:ta-154000757-hostMaintenance","ref":"ta-154000757-hostMaintenance","sha":"f4e298bc36cb9d46e33ce26333f1876896d63e94","user":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars0.githubusercontent.com/u/5680605?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":33261686,"name":"bosh-vsphere-cpi-release","full_name":"cloudfoundry-incubator/bosh-vsphere-cpi-release","owner":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars0.githubusercontent.com/u/5680605?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release","description":"BOSH vSphere CPI","fork":false,"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release","forks_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/forks","keys_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/events","assignees_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/merges","archive_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/releases{/id}","deployments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/deployments","created_at":"2015-04-01T17:21:21Z","updated_at":"2018-01-05T15:48:36Z","pushed_at":"2018-02-13T18:55:37Z","git_url":"git://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release.git","ssh_url":"git@github.com:cloudfoundry-incubator/bosh-vsphere-cpi-release.git","clone_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release.git","svn_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release","homepage":"","size":54420,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":21,"open_issues":13,"watchers":17,"default_branch":"master"}},"base":{"label":"cloudfoundry-incubator:master","ref":"master","sha":"bda449da4047d8f62bf051ce80c5e04cc70cb157","user":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars0.githubusercontent.com/u/5680605?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":33261686,"name":"bosh-vsphere-cpi-release","full_name":"cloudfoundry-incubator/bosh-vsphere-cpi-release","owner":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars0.githubusercontent.com/u/5680605?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release","description":"BOSH vSphere CPI","fork":false,"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release","forks_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/forks","keys_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/events","assignees_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/merges","archive_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/releases{/id}","deployments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/deployments","created_at":"2015-04-01T17:21:21Z","updated_at":"2018-01-05T15:48:36Z","pushed_at":"2018-02-13T18:55:37Z","git_url":"git://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release.git","ssh_url":"git@github.com:cloudfoundry-incubator/bosh-vsphere-cpi-release.git","clone_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release.git","svn_url":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release","homepage":"","size":54420,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":21,"open_issues":13,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63"},"html":{"href":"https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/pull/63"},"issue":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/63"},"comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfoundry-incubator/bosh-vsphere-cpi-release/statuses/f4e298bc36cb9d46e33ce26333f1876896d63e94"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}