{"action":"opened","number":745,"pull_request":{"url":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/745","id":57036316,"html_url":"https://github.com/ClusterLabs/resource-agents/pull/745","diff_url":"https://github.com/ClusterLabs/resource-agents/pull/745.diff","patch_url":"https://github.com/ClusterLabs/resource-agents/pull/745.patch","issue_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/745","number":745,"state":"open","locked":false,"title":"Low: ldirectord: Fix unset failcount error","user":{"login":"krig","id":25527,"avatar_url":"https://avatars.githubusercontent.com/u/25527?v=3","gravatar_id":"","url":"https://api.github.com/users/krig","html_url":"https://github.com/krig","followers_url":"https://api.github.com/users/krig/followers","following_url":"https://api.github.com/users/krig/following{/other_user}","gists_url":"https://api.github.com/users/krig/gists{/gist_id}","starred_url":"https://api.github.com/users/krig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krig/subscriptions","organizations_url":"https://api.github.com/users/krig/orgs","repos_url":"https://api.github.com/users/krig/repos","events_url":"https://api.github.com/users/krig/events{/privacy}","received_events_url":"https://api.github.com/users/krig/received_events","type":"User","site_admin":false},"body":"This error was noticed in the logs:\r\n\r\nUse of uninitialized value in numeric gt (>)\r\n\r\nThe uninitialized use comes from the \"_service_up\" function\r\nwhich tries to read an uninitialized array element \"failcount\"\r\nwhich get only written (set > 0) in the \"_service_down\" function.\r\n\r\nThis patch sets failcount to 0 in the constructor to avoid\r\ntriggering the error.","created_at":"2016-01-25T07:24:46Z","updated_at":"2016-01-25T07:24:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/745/commits","review_comments_url":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/745/comments","review_comment_url":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/745/comments","statuses_url":"https://api.github.com/repos/ClusterLabs/resource-agents/statuses/4014acf0b056d51ba0ab312318bf8906ad4c1786","head":{"label":"krig:unset-failcount","ref":"unset-failcount","sha":"4014acf0b056d51ba0ab312318bf8906ad4c1786","user":{"login":"krig","id":25527,"avatar_url":"https://avatars.githubusercontent.com/u/25527?v=3","gravatar_id":"","url":"https://api.github.com/users/krig","html_url":"https://github.com/krig","followers_url":"https://api.github.com/users/krig/followers","following_url":"https://api.github.com/users/krig/following{/other_user}","gists_url":"https://api.github.com/users/krig/gists{/gist_id}","starred_url":"https://api.github.com/users/krig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krig/subscriptions","organizations_url":"https://api.github.com/users/krig/orgs","repos_url":"https://api.github.com/users/krig/repos","events_url":"https://api.github.com/users/krig/events{/privacy}","received_events_url":"https://api.github.com/users/krig/received_events","type":"User","site_admin":false},"repo":{"id":13033136,"name":"resource-agents","full_name":"krig/resource-agents","owner":{"login":"krig","id":25527,"avatar_url":"https://avatars.githubusercontent.com/u/25527?v=3","gravatar_id":"","url":"https://api.github.com/users/krig","html_url":"https://github.com/krig","followers_url":"https://api.github.com/users/krig/followers","following_url":"https://api.github.com/users/krig/following{/other_user}","gists_url":"https://api.github.com/users/krig/gists{/gist_id}","starred_url":"https://api.github.com/users/krig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krig/subscriptions","organizations_url":"https://api.github.com/users/krig/orgs","repos_url":"https://api.github.com/users/krig/repos","events_url":"https://api.github.com/users/krig/events{/privacy}","received_events_url":"https://api.github.com/users/krig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krig/resource-agents","description":"Combined repository of OCF agents from the RHCS and Linux-HA projects","fork":true,"url":"https://api.github.com/repos/krig/resource-agents","forks_url":"https://api.github.com/repos/krig/resource-agents/forks","keys_url":"https://api.github.com/repos/krig/resource-agents/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krig/resource-agents/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krig/resource-agents/teams","hooks_url":"https://api.github.com/repos/krig/resource-agents/hooks","issue_events_url":"https://api.github.com/repos/krig/resource-agents/issues/events{/number}","events_url":"https://api.github.com/repos/krig/resource-agents/events","assignees_url":"https://api.github.com/repos/krig/resource-agents/assignees{/user}","branches_url":"https://api.github.com/repos/krig/resource-agents/branches{/branch}","tags_url":"https://api.github.com/repos/krig/resource-agents/tags","blobs_url":"https://api.github.com/repos/krig/resource-agents/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krig/resource-agents/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krig/resource-agents/git/refs{/sha}","trees_url":"https://api.github.com/repos/krig/resource-agents/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krig/resource-agents/statuses/{sha}","languages_url":"https://api.github.com/repos/krig/resource-agents/languages","stargazers_url":"https://api.github.com/repos/krig/resource-agents/stargazers","contributors_url":"https://api.github.com/repos/krig/resource-agents/contributors","subscribers_url":"https://api.github.com/repos/krig/resource-agents/subscribers","subscription_url":"https://api.github.com/repos/krig/resource-agents/subscription","commits_url":"https://api.github.com/repos/krig/resource-agents/commits{/sha}","git_commits_url":"https://api.github.com/repos/krig/resource-agents/git/commits{/sha}","comments_url":"https://api.github.com/repos/krig/resource-agents/comments{/number}","issue_comment_url":"https://api.github.com/repos/krig/resource-agents/issues/comments{/number}","contents_url":"https://api.github.com/repos/krig/resource-agents/contents/{+path}","compare_url":"https://api.github.com/repos/krig/resource-agents/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krig/resource-agents/merges","archive_url":"https://api.github.com/repos/krig/resource-agents/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krig/resource-agents/downloads","issues_url":"https://api.github.com/repos/krig/resource-agents/issues{/number}","pulls_url":"https://api.github.com/repos/krig/resource-agents/pulls{/number}","milestones_url":"https://api.github.com/repos/krig/resource-agents/milestones{/number}","notifications_url":"https://api.github.com/repos/krig/resource-agents/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krig/resource-agents/labels{/name}","releases_url":"https://api.github.com/repos/krig/resource-agents/releases{/id}","deployments_url":"https://api.github.com/repos/krig/resource-agents/deployments","created_at":"2013-09-23T10:41:57Z","updated_at":"2015-05-08T17:35:29Z","pushed_at":"2016-01-25T07:24:24Z","git_url":"git://github.com/krig/resource-agents.git","ssh_url":"git@github.com:krig/resource-agents.git","clone_url":"https://github.com/krig/resource-agents.git","svn_url":"https://github.com/krig/resource-agents","homepage":"","size":32422,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ClusterLabs:master","ref":"master","sha":"d2dfd1bee744ebd935f857bee394290066e612ab","user":{"login":"ClusterLabs","id":574912,"avatar_url":"https://avatars.githubusercontent.com/u/574912?v=3","gravatar_id":"","url":"https://api.github.com/users/ClusterLabs","html_url":"https://github.com/ClusterLabs","followers_url":"https://api.github.com/users/ClusterLabs/followers","following_url":"https://api.github.com/users/ClusterLabs/following{/other_user}","gists_url":"https://api.github.com/users/ClusterLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterLabs/subscriptions","organizations_url":"https://api.github.com/users/ClusterLabs/orgs","repos_url":"https://api.github.com/users/ClusterLabs/repos","events_url":"https://api.github.com/users/ClusterLabs/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1316191,"name":"resource-agents","full_name":"ClusterLabs/resource-agents","owner":{"login":"ClusterLabs","id":574912,"avatar_url":"https://avatars.githubusercontent.com/u/574912?v=3","gravatar_id":"","url":"https://api.github.com/users/ClusterLabs","html_url":"https://github.com/ClusterLabs","followers_url":"https://api.github.com/users/ClusterLabs/followers","following_url":"https://api.github.com/users/ClusterLabs/following{/other_user}","gists_url":"https://api.github.com/users/ClusterLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterLabs/subscriptions","organizations_url":"https://api.github.com/users/ClusterLabs/orgs","repos_url":"https://api.github.com/users/ClusterLabs/repos","events_url":"https://api.github.com/users/ClusterLabs/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClusterLabs/resource-agents","description":"Combined repository of OCF agents from the RHCS and Linux-HA projects","fork":false,"url":"https://api.github.com/repos/ClusterLabs/resource-agents","forks_url":"https://api.github.com/repos/ClusterLabs/resource-agents/forks","keys_url":"https://api.github.com/repos/ClusterLabs/resource-agents/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClusterLabs/resource-agents/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClusterLabs/resource-agents/teams","hooks_url":"https://api.github.com/repos/ClusterLabs/resource-agents/hooks","issue_events_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/events{/number}","events_url":"https://api.github.com/repos/ClusterLabs/resource-agents/events","assignees_url":"https://api.github.com/repos/ClusterLabs/resource-agents/assignees{/user}","branches_url":"https://api.github.com/repos/ClusterLabs/resource-agents/branches{/branch}","tags_url":"https://api.github.com/repos/ClusterLabs/resource-agents/tags","blobs_url":"https://api.github.com/repos/ClusterLabs/resource-agents/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClusterLabs/resource-agents/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClusterLabs/resource-agents/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClusterLabs/resource-agents/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClusterLabs/resource-agents/statuses/{sha}","languages_url":"https://api.github.com/repos/ClusterLabs/resource-agents/languages","stargazers_url":"https://api.github.com/repos/ClusterLabs/resource-agents/stargazers","contributors_url":"https://api.github.com/repos/ClusterLabs/resource-agents/contributors","subscribers_url":"https://api.github.com/repos/ClusterLabs/resource-agents/subscribers","subscription_url":"https://api.github.com/repos/ClusterLabs/resource-agents/subscription","commits_url":"https://api.github.com/repos/ClusterLabs/resource-agents/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClusterLabs/resource-agents/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClusterLabs/resource-agents/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClusterLabs/resource-agents/contents/{+path}","compare_url":"https://api.github.com/repos/ClusterLabs/resource-agents/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClusterLabs/resource-agents/merges","archive_url":"https://api.github.com/repos/ClusterLabs/resource-agents/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClusterLabs/resource-agents/downloads","issues_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues{/number}","pulls_url":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls{/number}","milestones_url":"https://api.github.com/repos/ClusterLabs/resource-agents/milestones{/number}","notifications_url":"https://api.github.com/repos/ClusterLabs/resource-agents/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClusterLabs/resource-agents/labels{/name}","releases_url":"https://api.github.com/repos/ClusterLabs/resource-agents/releases{/id}","deployments_url":"https://api.github.com/repos/ClusterLabs/resource-agents/deployments","created_at":"2011-02-01T13:43:18Z","updated_at":"2016-01-21T00:07:41Z","pushed_at":"2016-01-20T11:48:18Z","git_url":"git://github.com/ClusterLabs/resource-agents.git","ssh_url":"git@github.com:ClusterLabs/resource-agents.git","clone_url":"https://github.com/ClusterLabs/resource-agents.git","svn_url":"https://github.com/ClusterLabs/resource-agents","homepage":"","size":33152,"stargazers_count":268,"watchers_count":268,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":60,"forks":280,"open_issues":60,"watchers":268,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/745"},"html":{"href":"https://github.com/ClusterLabs/resource-agents/pull/745"},"issue":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/745"},"comments":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/745/comments"},"review_comments":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/745/comments"},"review_comment":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/pulls/745/commits"},"statuses":{"href":"https://api.github.com/repos/ClusterLabs/resource-agents/statuses/4014acf0b056d51ba0ab312318bf8906ad4c1786"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}