{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/36268","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/36268/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/36268/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/36268/events","html_url":"https://github.com/saltstack/salt/pull/36268","id":176667327,"number":36268,"title":"Fixed arguments to VPC peering function","user":{"login":"blarghmatey","id":479088,"avatar_url":"https://avatars.githubusercontent.com/u/479088?v=3","gravatar_id":"","url":"https://api.github.com/users/blarghmatey","html_url":"https://github.com/blarghmatey","followers_url":"https://api.github.com/users/blarghmatey/followers","following_url":"https://api.github.com/users/blarghmatey/following{/other_user}","gists_url":"https://api.github.com/users/blarghmatey/gists{/gist_id}","starred_url":"https://api.github.com/users/blarghmatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blarghmatey/subscriptions","organizations_url":"https://api.github.com/users/blarghmatey/orgs","repos_url":"https://api.github.com/users/blarghmatey/repos","events_url":"https://api.github.com/users/blarghmatey/events{/privacy}","received_events_url":"https://api.github.com/users/blarghmatey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-13T15:09:05Z","updated_at":"2016-09-13T18:28:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/36268","html_url":"https://github.com/saltstack/salt/pull/36268","diff_url":"https://github.com/saltstack/salt/pull/36268.diff","patch_url":"https://github.com/saltstack/salt/pull/36268.patch"},"body":"### What does this PR do?\r\nFix a bug in the keyword arguments used for `is_peering_connection_pending` in the state function `accept_vpc_peering_connection`.\r\n\r\n### What issues does this PR fix or reference?\r\nNone\r\n\r\n### Previous Behavior\r\nWhen using the `accept_vpc_peering_connection` state function it would result in the following stacktrace:\r\n```\r\n               An exception occurred in this state: Traceback (most recent call last):\r\n                File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 1744, in call\r\n                  **cdata['kwargs'])\r\n                File \"/usr/lib/python2.7/dist-packages/salt/loader.py\", line 1704, in wrapper\r\n                  return f(*args, **kwargs)\r\n                File \"/usr/lib/python2.7/dist-packages/salt/states/boto_vpc.py\", line 1487, in accept_vpc_peering_connection\r\n                  profile=profile\r\n              TypeError: is_peering_connection_pending() got an unexpected keyword argument 'name'\r\n```\r\n\r\n### New Behavior\r\nAn exception is not raised.\r\n\r\n### Tests written?\r\n\r\nNo\r\n\r\nPlease review [Salt's Contributing Guide](https://docs.saltstack.com/en/latest/topics/development/contributing.html) for best practices.\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/246777134","html_url":"https://github.com/saltstack/salt/pull/36268#issuecomment-246777134","issue_url":"https://api.github.com/repos/saltstack/salt/issues/36268","id":246777134,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T18:28:52Z","updated_at":"2016-09-13T18:28:52Z","body":"Go Go Jenkins!"}}
{"actor":{"display_login":"rallytime"}}