{"action":"closed","number":650,"pull_request":{"url":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/650","id":126455532,"html_url":"https://github.com/PowerShell/xSQLServer/pull/650","diff_url":"https://github.com/PowerShell/xSQLServer/pull/650.diff","patch_url":"https://github.com/PowerShell/xSQLServer/pull/650.patch","issue_url":"https://api.github.com/repos/PowerShell/xSQLServer/issues/650","number":650,"state":"closed","locked":false,"title":"xSQLServerAlwaysOnAvailabilityGroup: Fix incorrect utilization of 'FailoverMode'","user":{"login":"cwegener","id":2950544,"avatar_url":"https://avatars1.githubusercontent.com/u/2950544?v=3","gravatar_id":"","url":"https://api.github.com/users/cwegener","html_url":"https://github.com/cwegener","followers_url":"https://api.github.com/users/cwegener/followers","following_url":"https://api.github.com/users/cwegener/following{/other_user}","gists_url":"https://api.github.com/users/cwegener/gists{/gist_id}","starred_url":"https://api.github.com/users/cwegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwegener/subscriptions","organizations_url":"https://api.github.com/users/cwegener/orgs","repos_url":"https://api.github.com/users/cwegener/repos","events_url":"https://api.github.com/users/cwegener/events{/privacy}","received_events_url":"https://api.github.com/users/cwegener/received_events","type":"User","site_admin":false},"body":"Instead of applying the value of the 'FailoverMode' DSC parameter to the\nAvailabilityMode property of the SQL AG, which results in an error message that\ne.g. 'Automatic' cannot be converted to the SMO AvailabilityMode enumeration,\nthe value of the 'FailoverMode' DSC parameter must instead be applied to the\nFailoverMode property of the SQL AG.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/powershell/xsqlserver/650)\n<!-- Reviewable:end -->\n","created_at":"2017-06-20T06:25:44Z","updated_at":"2017-06-20T16:46:30Z","closed_at":"2017-06-20T16:46:30Z","merged_at":"2017-06-20T16:46:30Z","merge_commit_sha":"ad0ebfc2faa6cd43ea9a285b262524fe370cb0c6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/650/commits","review_comments_url":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/650/comments","review_comment_url":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/xSQLServer/issues/650/comments","statuses_url":"https://api.github.com/repos/PowerShell/xSQLServer/statuses/4599cfc1528d3d983423e78b10068c095f77d416","head":{"label":"cwegener:fix_hadr_ag_failovermode","ref":"fix_hadr_ag_failovermode","sha":"4599cfc1528d3d983423e78b10068c095f77d416","user":{"login":"cwegener","id":2950544,"avatar_url":"https://avatars1.githubusercontent.com/u/2950544?v=3","gravatar_id":"","url":"https://api.github.com/users/cwegener","html_url":"https://github.com/cwegener","followers_url":"https://api.github.com/users/cwegener/followers","following_url":"https://api.github.com/users/cwegener/following{/other_user}","gists_url":"https://api.github.com/users/cwegener/gists{/gist_id}","starred_url":"https://api.github.com/users/cwegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwegener/subscriptions","organizations_url":"https://api.github.com/users/cwegener/orgs","repos_url":"https://api.github.com/users/cwegener/repos","events_url":"https://api.github.com/users/cwegener/events{/privacy}","received_events_url":"https://api.github.com/users/cwegener/received_events","type":"User","site_admin":false},"repo":{"id":94851185,"name":"xSQLServer","full_name":"cwegener/xSQLServer","owner":{"login":"cwegener","id":2950544,"avatar_url":"https://avatars1.githubusercontent.com/u/2950544?v=3","gravatar_id":"","url":"https://api.github.com/users/cwegener","html_url":"https://github.com/cwegener","followers_url":"https://api.github.com/users/cwegener/followers","following_url":"https://api.github.com/users/cwegener/following{/other_user}","gists_url":"https://api.github.com/users/cwegener/gists{/gist_id}","starred_url":"https://api.github.com/users/cwegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwegener/subscriptions","organizations_url":"https://api.github.com/users/cwegener/orgs","repos_url":"https://api.github.com/users/cwegener/repos","events_url":"https://api.github.com/users/cwegener/events{/privacy}","received_events_url":"https://api.github.com/users/cwegener/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cwegener/xSQLServer","description":null,"fork":true,"url":"https://api.github.com/repos/cwegener/xSQLServer","forks_url":"https://api.github.com/repos/cwegener/xSQLServer/forks","keys_url":"https://api.github.com/repos/cwegener/xSQLServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cwegener/xSQLServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cwegener/xSQLServer/teams","hooks_url":"https://api.github.com/repos/cwegener/xSQLServer/hooks","issue_events_url":"https://api.github.com/repos/cwegener/xSQLServer/issues/events{/number}","events_url":"https://api.github.com/repos/cwegener/xSQLServer/events","assignees_url":"https://api.github.com/repos/cwegener/xSQLServer/assignees{/user}","branches_url":"https://api.github.com/repos/cwegener/xSQLServer/branches{/branch}","tags_url":"https://api.github.com/repos/cwegener/xSQLServer/tags","blobs_url":"https://api.github.com/repos/cwegener/xSQLServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cwegener/xSQLServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cwegener/xSQLServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/cwegener/xSQLServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cwegener/xSQLServer/statuses/{sha}","languages_url":"https://api.github.com/repos/cwegener/xSQLServer/languages","stargazers_url":"https://api.github.com/repos/cwegener/xSQLServer/stargazers","contributors_url":"https://api.github.com/repos/cwegener/xSQLServer/contributors","subscribers_url":"https://api.github.com/repos/cwegener/xSQLServer/subscribers","subscription_url":"https://api.github.com/repos/cwegener/xSQLServer/subscription","commits_url":"https://api.github.com/repos/cwegener/xSQLServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/cwegener/xSQLServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/cwegener/xSQLServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/cwegener/xSQLServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/cwegener/xSQLServer/contents/{+path}","compare_url":"https://api.github.com/repos/cwegener/xSQLServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cwegener/xSQLServer/merges","archive_url":"https://api.github.com/repos/cwegener/xSQLServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cwegener/xSQLServer/downloads","issues_url":"https://api.github.com/repos/cwegener/xSQLServer/issues{/number}","pulls_url":"https://api.github.com/repos/cwegener/xSQLServer/pulls{/number}","milestones_url":"https://api.github.com/repos/cwegener/xSQLServer/milestones{/number}","notifications_url":"https://api.github.com/repos/cwegener/xSQLServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cwegener/xSQLServer/labels{/name}","releases_url":"https://api.github.com/repos/cwegener/xSQLServer/releases{/id}","deployments_url":"https://api.github.com/repos/cwegener/xSQLServer/deployments","created_at":"2017-06-20T04:55:32Z","updated_at":"2017-06-20T04:55:34Z","pushed_at":"2017-06-20T11:01:22Z","git_url":"git://github.com/cwegener/xSQLServer.git","ssh_url":"git@github.com:cwegener/xSQLServer.git","clone_url":"https://github.com/cwegener/xSQLServer.git","svn_url":"https://github.com/cwegener/xSQLServer","homepage":null,"size":1480,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"PowerShell:dev","ref":"dev","sha":"d5c3276d3c223565e89aa1db26fbbb2601c5e40e","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars0.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":34022262,"name":"xSQLServer","full_name":"PowerShell/xSQLServer","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars0.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/xSQLServer","description":null,"fork":false,"url":"https://api.github.com/repos/PowerShell/xSQLServer","forks_url":"https://api.github.com/repos/PowerShell/xSQLServer/forks","keys_url":"https://api.github.com/repos/PowerShell/xSQLServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/xSQLServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/xSQLServer/teams","hooks_url":"https://api.github.com/repos/PowerShell/xSQLServer/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/xSQLServer/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/xSQLServer/events","assignees_url":"https://api.github.com/repos/PowerShell/xSQLServer/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/xSQLServer/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/xSQLServer/tags","blobs_url":"https://api.github.com/repos/PowerShell/xSQLServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/xSQLServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/xSQLServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/xSQLServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/xSQLServer/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/xSQLServer/languages","stargazers_url":"https://api.github.com/repos/PowerShell/xSQLServer/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/xSQLServer/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/xSQLServer/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/xSQLServer/subscription","commits_url":"https://api.github.com/repos/PowerShell/xSQLServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/xSQLServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/xSQLServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/xSQLServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/xSQLServer/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/xSQLServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/xSQLServer/merges","archive_url":"https://api.github.com/repos/PowerShell/xSQLServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/xSQLServer/downloads","issues_url":"https://api.github.com/repos/PowerShell/xSQLServer/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/xSQLServer/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/xSQLServer/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/xSQLServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/xSQLServer/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/xSQLServer/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/xSQLServer/deployments","created_at":"2015-04-15T22:43:08Z","updated_at":"2017-06-17T09:26:44Z","pushed_at":"2017-06-20T16:46:30Z","git_url":"git://github.com/PowerShell/xSQLServer.git","ssh_url":"git@github.com:PowerShell/xSQLServer.git","clone_url":"https://github.com/PowerShell/xSQLServer.git","svn_url":"https://github.com/PowerShell/xSQLServer","homepage":null,"size":3175,"stargazers_count":82,"watchers_count":82,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":204,"forks":103,"open_issues":204,"watchers":82,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/650"},"html":{"href":"https://github.com/PowerShell/xSQLServer/pull/650"},"issue":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/issues/650"},"comments":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/issues/650/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/650/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/pulls/650/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/xSQLServer/statuses/4599cfc1528d3d983423e78b10068c095f77d416"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"johlju","id":7189721,"avatar_url":"https://avatars3.githubusercontent.com/u/7189721?v=3","gravatar_id":"","url":"https://api.github.com/users/johlju","html_url":"https://github.com/johlju","followers_url":"https://api.github.com/users/johlju/followers","following_url":"https://api.github.com/users/johlju/following{/other_user}","gists_url":"https://api.github.com/users/johlju/gists{/gist_id}","starred_url":"https://api.github.com/users/johlju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johlju/subscriptions","organizations_url":"https://api.github.com/users/johlju/orgs","repos_url":"https://api.github.com/users/johlju/repos","events_url":"https://api.github.com/users/johlju/events{/privacy}","received_events_url":"https://api.github.com/users/johlju/received_events","type":"User","site_admin":false},"comments":9,"review_comments":3,"maintainer_can_modify":false,"commits":2,"additions":3,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"johlju"}}