{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin-server/issues/6348","labels_url":"https://api.github.com/repos/openshift/origin-server/issues/6348/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin-server/issues/6348/comments","events_url":"https://api.github.com/repos/openshift/origin-server/issues/6348/events","html_url":"https://github.com/openshift/origin-server/pull/6348","id":126752039,"number":6348,"title":"admin_helper.rb: check for nil plans","user":{"login":"thrasher-redhat","id":15019342,"avatar_url":"https://avatars.githubusercontent.com/u/15019342?v=3","gravatar_id":"","url":"https://api.github.com/users/thrasher-redhat","html_url":"https://github.com/thrasher-redhat","followers_url":"https://api.github.com/users/thrasher-redhat/followers","following_url":"https://api.github.com/users/thrasher-redhat/following{/other_user}","gists_url":"https://api.github.com/users/thrasher-redhat/gists{/gist_id}","starred_url":"https://api.github.com/users/thrasher-redhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrasher-redhat/subscriptions","organizations_url":"https://api.github.com/users/thrasher-redhat/orgs","repos_url":"https://api.github.com/users/thrasher-redhat/repos","events_url":"https://api.github.com/users/thrasher-redhat/events{/privacy}","received_events_url":"https://api.github.com/users/thrasher-redhat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-14T21:28:48Z","updated_at":"2016-01-15T22:07:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin-server/pulls/6348","html_url":"https://github.com/openshift/origin-server/pull/6348","diff_url":"https://github.com/openshift/origin-server/pull/6348.diff","patch_url":"https://github.com/openshift/origin-server/pull/6348.patch"},"body":"Bug 1279584\r\nBZ https://bugzilla.redhat.com/show_bug.cgi?id=1279584\r\n\r\nIn situations where get_plans() returns nil when trying to determine user\r\ncapabilities, attempting to populate_user_hash() in oo-admin-chk and\r\noo-admin-repair would result in the script crashing due to an undefined method\r\nexception.  The script will now check if get_plans() comes back nil and will drop\r\nback to using the default user capabilities, as well as displaying a warning\r\nthat the plan has not been implemented.  This warning will not cause\r\noo-admin-chk or oo-admin-repair to fail."},"comment":{"url":"https://api.github.com/repos/openshift/origin-server/issues/comments/172107710","html_url":"https://github.com/openshift/origin-server/pull/6348#issuecomment-172107710","issue_url":"https://api.github.com/repos/openshift/origin-server/issues/6348","id":172107710,"user":{"login":"tiwillia","id":5197933,"avatar_url":"https://avatars.githubusercontent.com/u/5197933?v=3","gravatar_id":"","url":"https://api.github.com/users/tiwillia","html_url":"https://github.com/tiwillia","followers_url":"https://api.github.com/users/tiwillia/followers","following_url":"https://api.github.com/users/tiwillia/following{/other_user}","gists_url":"https://api.github.com/users/tiwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/tiwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiwillia/subscriptions","organizations_url":"https://api.github.com/users/tiwillia/orgs","repos_url":"https://api.github.com/users/tiwillia/repos","events_url":"https://api.github.com/users/tiwillia/events{/privacy}","received_events_url":"https://api.github.com/users/tiwillia/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T22:07:38Z","updated_at":"2016-01-15T22:07:38Z","body":"[merge] please!"}}