{"action":"created","issue":{"url":"https://api.github.com/repos/Datera/rtslib/issues/9","labels_url":"https://api.github.com/repos/Datera/rtslib/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Datera/rtslib/issues/9/comments","events_url":"https://api.github.com/repos/Datera/rtslib/issues/9/events","html_url":"https://github.com/Datera/rtslib/pull/9","id":98473358,"number":9,"title":"target: fix broken TPG enable=0 handling","user":{"login":"ddiss","id":3995472,"avatar_url":"https://avatars.githubusercontent.com/u/3995472?v=3","gravatar_id":"","url":"https://api.github.com/users/ddiss","html_url":"https://github.com/ddiss","followers_url":"https://api.github.com/users/ddiss/followers","following_url":"https://api.github.com/users/ddiss/following{/other_user}","gists_url":"https://api.github.com/users/ddiss/gists{/gist_id}","starred_url":"https://api.github.com/users/ddiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddiss/subscriptions","organizations_url":"https://api.github.com/users/ddiss/orgs","repos_url":"https://api.github.com/users/ddiss/repos","events_url":"https://api.github.com/users/ddiss/events{/privacy}","received_events_url":"https://api.github.com/users/ddiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T21:23:03Z","updated_at":"2015-08-12T16:31:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Datera/rtslib/pulls/9","html_url":"https://github.com/Datera/rtslib/pull/9","diff_url":"https://github.com/Datera/rtslib/pull/9.diff","patch_url":"https://github.com/Datera/rtslib/pull/9.patch"},"body":"A \"TPG cannot be disabled\" error is incorrectly thrown when attempting\r\nto apply a configuration with a disabled TPG.\r\n\r\nI think the intention of the code was to fail disable requests if the\r\n$tpg/enable configfs path doesn't exist, and only write to the path if\r\nit's current value doesn't match the requested setting... The logic was\r\njust incorrect.\r\n\r\nSigned-off-by: David Disseldorp <ddiss@suse.de>"},"comment":{"url":"https://api.github.com/repos/Datera/rtslib/issues/comments/130363388","html_url":"https://github.com/Datera/rtslib/pull/9#issuecomment-130363388","issue_url":"https://api.github.com/repos/Datera/rtslib/issues/9","id":130363388,"user":{"login":"ddiss","id":3995472,"avatar_url":"https://avatars.githubusercontent.com/u/3995472?v=3","gravatar_id":"","url":"https://api.github.com/users/ddiss","html_url":"https://github.com/ddiss","followers_url":"https://api.github.com/users/ddiss/followers","following_url":"https://api.github.com/users/ddiss/following{/other_user}","gists_url":"https://api.github.com/users/ddiss/gists{/gist_id}","starred_url":"https://api.github.com/users/ddiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddiss/subscriptions","organizations_url":"https://api.github.com/users/ddiss/orgs","repos_url":"https://api.github.com/users/ddiss/repos","events_url":"https://api.github.com/users/ddiss/events{/privacy}","received_events_url":"https://api.github.com/users/ddiss/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T16:31:31Z","updated_at":"2015-08-12T16:31:31Z","body":"Ping, any feedback?"}}