{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/tower-cli/issues/177","repository_url":"https://api.github.com/repos/ansible/tower-cli","labels_url":"https://api.github.com/repos/ansible/tower-cli/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/ansible/tower-cli/issues/177/comments","events_url":"https://api.github.com/repos/ansible/tower-cli/issues/177/events","html_url":"https://github.com/ansible/tower-cli/pull/177","id":167117432,"number":177,"title":"Resolve incorrect error message when creating duplicate item without required field.","user":{"login":"jangsutsr","id":14990293,"avatar_url":"https://avatars.githubusercontent.com/u/14990293?v=3","gravatar_id":"","url":"https://api.github.com/users/jangsutsr","html_url":"https://github.com/jangsutsr","followers_url":"https://api.github.com/users/jangsutsr/followers","following_url":"https://api.github.com/users/jangsutsr/following{/other_user}","gists_url":"https://api.github.com/users/jangsutsr/gists{/gist_id}","starred_url":"https://api.github.com/users/jangsutsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangsutsr/subscriptions","organizations_url":"https://api.github.com/users/jangsutsr/orgs","repos_url":"https://api.github.com/users/jangsutsr/repos","events_url":"https://api.github.com/users/jangsutsr/events{/privacy}","received_events_url":"https://api.github.com/users/jangsutsr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/tower-cli/labels/review","name":"review","color":"cbaaab"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-22T19:41:25Z","updated_at":"2016-07-22T19:59:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/tower-cli/pulls/177","html_url":"https://github.com/ansible/tower-cli/pull/177","diff_url":"https://github.com/ansible/tower-cli/pull/177.diff","patch_url":"https://github.com/ansible/tower-cli/pull/177.patch"},"body":"Connect to issue #109.\r\n\r\nThis issue is caused by the exe sequence of existence checking and required checking. Adding related exception capture gives user log info of possible failure causes.\r\n\r\nNow the outcome becomes:\r\n```\r\n(tower_cli_devel) sitan-OSX:tower-cli sitan$ tower-cli host create --name localhost -v --insecure\r\n*** DETAILS: Checking for an existing record. *********************************\r\nGET https://ec2-54-234-179-218.compute-1.amazonaws.com/api/v1/hosts/\r\nParams: {'name': u'localhost'}\r\n\r\n*** WARNING: Multiple Results found. Possibly caused by missing required options. \r\nError: Missing required fields: inventory\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/tower-cli/issues/comments/234641566","html_url":"https://github.com/ansible/tower-cli/pull/177#issuecomment-234641566","issue_url":"https://api.github.com/repos/ansible/tower-cli/issues/177","id":234641566,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T19:59:52Z","updated_at":"2016-07-22T19:59:52Z","body":"\n[![Coverage Status](https://coveralls.io/builds/7125489/badge)](https://coveralls.io/builds/7125489)\n\nCoverage decreased (-0.1%) to 99.866% when pulling **f3f110626e3b191f53800e6772946b7e7e98dccf on jangsutsr:issue109** into **86cf8e0cb29f047ec2f92e402ec24455087e4846 on ansible:master**.\n"}}
{"actor":{"display_login":"coveralls"}}