{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/24","id":93577369,"html_url":"https://github.com/Skyscanner/slingshot-api/pull/24","diff_url":"https://github.com/Skyscanner/slingshot-api/pull/24.diff","patch_url":"https://github.com/Skyscanner/slingshot-api/pull/24.patch","issue_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/24","number":24,"state":"open","locked":false,"title":"fix: empty regions break version saves","user":{"login":"gnhenderson","id":10164868,"avatar_url":"https://avatars.githubusercontent.com/u/10164868?v=3","gravatar_id":"","url":"https://api.github.com/users/gnhenderson","html_url":"https://github.com/gnhenderson","followers_url":"https://api.github.com/users/gnhenderson/followers","following_url":"https://api.github.com/users/gnhenderson/following{/other_user}","gists_url":"https://api.github.com/users/gnhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/gnhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnhenderson/subscriptions","organizations_url":"https://api.github.com/users/gnhenderson/orgs","repos_url":"https://api.github.com/users/gnhenderson/repos","events_url":"https://api.github.com/users/gnhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/gnhenderson/received_events","type":"User","site_admin":false},"body":"### Changes\r\n- Fix for empty regions in a slingshot yaml causing exception when saving versions, e.g.:\r\n  ```\r\n  regions:\r\n    eu-west-1: {}\r\n    ap-southeast-1: {}\r\n  ```\r\n  should now work where before it would cause an exception to be thrown.","created_at":"2016-11-14T14:37:59Z","updated_at":"2016-11-14T14:37:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/24/commits","review_comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/24/comments","review_comment_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/24/comments","statuses_url":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/9e93b916fb22585e56bf02dda29263e01d626e64","head":{"label":"Skyscanner:save_empty_regions","ref":"save_empty_regions","sha":"9e93b916fb22585e56bf02dda29263e01d626e64","user":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"repo":{"id":71473942,"name":"slingshot-api","full_name":"Skyscanner/slingshot-api","owner":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Skyscanner/slingshot-api","description":"A simple API to record and request information on Slingshot deployments","fork":false,"url":"https://api.github.com/repos/Skyscanner/slingshot-api","forks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/forks","keys_url":"https://api.github.com/repos/Skyscanner/slingshot-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Skyscanner/slingshot-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Skyscanner/slingshot-api/teams","hooks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/hooks","issue_events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/events{/number}","events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/events","assignees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/assignees{/user}","branches_url":"https://api.github.com/repos/Skyscanner/slingshot-api/branches{/branch}","tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/tags","blobs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Skyscanner/slingshot-api/languages","stargazers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/stargazers","contributors_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contributors","subscribers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscribers","subscription_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscription","commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contents/{+path}","compare_url":"https://api.github.com/repos/Skyscanner/slingshot-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Skyscanner/slingshot-api/merges","archive_url":"https://api.github.com/repos/Skyscanner/slingshot-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Skyscanner/slingshot-api/downloads","issues_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues{/number}","pulls_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Skyscanner/slingshot-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Skyscanner/slingshot-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Skyscanner/slingshot-api/labels{/name}","releases_url":"https://api.github.com/repos/Skyscanner/slingshot-api/releases{/id}","deployments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/deployments","created_at":"2016-10-20T14:55:57Z","updated_at":"2016-11-03T09:19:57Z","pushed_at":"2016-11-14T14:37:59Z","git_url":"git://github.com/Skyscanner/slingshot-api.git","ssh_url":"git@github.com:Skyscanner/slingshot-api.git","clone_url":"https://github.com/Skyscanner/slingshot-api.git","svn_url":"https://github.com/Skyscanner/slingshot-api","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Skyscanner:master","ref":"master","sha":"ced74a4aa97ec971064caad4febe288c56e9ac9a","user":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"repo":{"id":71473942,"name":"slingshot-api","full_name":"Skyscanner/slingshot-api","owner":{"login":"Skyscanner","id":522811,"avatar_url":"https://avatars.githubusercontent.com/u/522811?v=3","gravatar_id":"","url":"https://api.github.com/users/Skyscanner","html_url":"https://github.com/Skyscanner","followers_url":"https://api.github.com/users/Skyscanner/followers","following_url":"https://api.github.com/users/Skyscanner/following{/other_user}","gists_url":"https://api.github.com/users/Skyscanner/gists{/gist_id}","starred_url":"https://api.github.com/users/Skyscanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skyscanner/subscriptions","organizations_url":"https://api.github.com/users/Skyscanner/orgs","repos_url":"https://api.github.com/users/Skyscanner/repos","events_url":"https://api.github.com/users/Skyscanner/events{/privacy}","received_events_url":"https://api.github.com/users/Skyscanner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Skyscanner/slingshot-api","description":"A simple API to record and request information on Slingshot deployments","fork":false,"url":"https://api.github.com/repos/Skyscanner/slingshot-api","forks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/forks","keys_url":"https://api.github.com/repos/Skyscanner/slingshot-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Skyscanner/slingshot-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Skyscanner/slingshot-api/teams","hooks_url":"https://api.github.com/repos/Skyscanner/slingshot-api/hooks","issue_events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/events{/number}","events_url":"https://api.github.com/repos/Skyscanner/slingshot-api/events","assignees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/assignees{/user}","branches_url":"https://api.github.com/repos/Skyscanner/slingshot-api/branches{/branch}","tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/tags","blobs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Skyscanner/slingshot-api/languages","stargazers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/stargazers","contributors_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contributors","subscribers_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscribers","subscription_url":"https://api.github.com/repos/Skyscanner/slingshot-api/subscription","commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Skyscanner/slingshot-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Skyscanner/slingshot-api/contents/{+path}","compare_url":"https://api.github.com/repos/Skyscanner/slingshot-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Skyscanner/slingshot-api/merges","archive_url":"https://api.github.com/repos/Skyscanner/slingshot-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Skyscanner/slingshot-api/downloads","issues_url":"https://api.github.com/repos/Skyscanner/slingshot-api/issues{/number}","pulls_url":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Skyscanner/slingshot-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Skyscanner/slingshot-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Skyscanner/slingshot-api/labels{/name}","releases_url":"https://api.github.com/repos/Skyscanner/slingshot-api/releases{/id}","deployments_url":"https://api.github.com/repos/Skyscanner/slingshot-api/deployments","created_at":"2016-10-20T14:55:57Z","updated_at":"2016-11-03T09:19:57Z","pushed_at":"2016-11-14T14:37:59Z","git_url":"git://github.com/Skyscanner/slingshot-api.git","ssh_url":"git@github.com:Skyscanner/slingshot-api.git","clone_url":"https://github.com/Skyscanner/slingshot-api.git","svn_url":"https://github.com/Skyscanner/slingshot-api","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/24"},"html":{"href":"https://github.com/Skyscanner/slingshot-api/pull/24"},"issue":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/24"},"comments":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/Skyscanner/slingshot-api/statuses/9e93b916fb22585e56bf02dda29263e01d626e64"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"gnhenderson"}}