{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/18583","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/18583/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/18583/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/18583/events","html_url":"https://github.com/ansible/ansible/pull/18583","id":191041815,"number":18583,"title":"fix datacenter value in case where the datacenter is defined in the conf file","user":{"login":"jkhelil","id":5939580,"avatar_url":"https://avatars.githubusercontent.com/u/5939580?v=3","gravatar_id":"","url":"https://api.github.com/users/jkhelil","html_url":"https://github.com/jkhelil","followers_url":"https://api.github.com/users/jkhelil/followers","following_url":"https://api.github.com/users/jkhelil/following{/other_user}","gists_url":"https://api.github.com/users/jkhelil/gists{/gist_id}","starred_url":"https://api.github.com/users/jkhelil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkhelil/subscriptions","organizations_url":"https://api.github.com/users/jkhelil/orgs","repos_url":"https://api.github.com/users/jkhelil/repos","events_url":"https://api.github.com/users/jkhelil/events{/privacy}","received_events_url":"https://api.github.com/users/jkhelil/received_events","type":"User","site_admin":false},"labels":[{"id":48276098,"url":"https://api.github.com/repos/ansible/ansible/labels/bugfix_pull_request","name":"bugfix_pull_request","color":"ded270","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T15:42:17Z","updated_at":"2016-11-23T15:36:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/18583","html_url":"https://github.com/ansible/ansible/pull/18583","diff_url":"https://github.com/ansible/ansible/pull/18583.diff","patch_url":"https://github.com/ansible/ansible/pull/18583.patch"},"body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bugfix Pull Request\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/module/task -->\r\ncontrib/inventory/consul_io.py\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.2.0.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n\r\n```\r\n\r\n##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nWhen datacenter is defined in the consul.ini conf file, kv groups are not retrieved for nodes, we should set self.current_dc with the right value to fix it\r\n\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n<!-- Paste verbatim command output below, e.g. before and after your change -->\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/262548633","html_url":"https://github.com/ansible/ansible/pull/18583#issuecomment-262548633","issue_url":"https://api.github.com/repos/ansible/ansible/issues/18583","id":262548633,"user":{"login":"jctanner","id":1869705,"avatar_url":"https://avatars.githubusercontent.com/u/1869705?v=3","gravatar_id":"","url":"https://api.github.com/users/jctanner","html_url":"https://github.com/jctanner","followers_url":"https://api.github.com/users/jctanner/followers","following_url":"https://api.github.com/users/jctanner/following{/other_user}","gists_url":"https://api.github.com/users/jctanner/gists{/gist_id}","starred_url":"https://api.github.com/users/jctanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jctanner/subscriptions","organizations_url":"https://api.github.com/users/jctanner/orgs","repos_url":"https://api.github.com/users/jctanner/repos","events_url":"https://api.github.com/users/jctanner/events{/privacy}","received_events_url":"https://api.github.com/users/jctanner/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:36:21Z","updated_at":"2016-11-23T15:36:21Z","body":"@sgargan can you review please?"}}
{"actor":{"display_login":"jctanner"}}