{"action":"created","issue":{"url":"https://api.github.com/repos/benningm/mtpolicyd/issues/15","repository_url":"https://api.github.com/repos/benningm/mtpolicyd","labels_url":"https://api.github.com/repos/benningm/mtpolicyd/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/benningm/mtpolicyd/issues/15/comments","events_url":"https://api.github.com/repos/benningm/mtpolicyd/issues/15/events","html_url":"https://github.com/benningm/mtpolicyd/issues/15","id":169965617,"number":15,"title":"v2.01 Can't locate object method \"servers\" ","user":{"login":"LuckyFellow","id":20767692,"avatar_url":"https://avatars.githubusercontent.com/u/20767692?v=3","gravatar_id":"","url":"https://api.github.com/users/LuckyFellow","html_url":"https://github.com/LuckyFellow","followers_url":"https://api.github.com/users/LuckyFellow/followers","following_url":"https://api.github.com/users/LuckyFellow/following{/other_user}","gists_url":"https://api.github.com/users/LuckyFellow/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyFellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyFellow/subscriptions","organizations_url":"https://api.github.com/users/LuckyFellow/orgs","repos_url":"https://api.github.com/users/LuckyFellow/repos","events_url":"https://api.github.com/users/LuckyFellow/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyFellow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-08T16:26:31Z","updated_at":"2016-08-12T11:50:31Z","closed_at":"2016-08-10T18:41:22Z","body":"When redis usage is setup, then starting mtpolicyd: /usr/local/bin/mtpolicyd -f\r\nkeeps outputting the error:\r\nCan't locate object method \"servers\" via package \"Mail::MtPolicyd::Connection::Redis\" at /usr/local/share/perl/5.20.2/Mail/MtPolicyd/Connection/Redis.pm line 20.\r\n\r\nin file: /usr/local/share/perl/5.20.2/Mail/MtPolicyd/Connection/Redis.pm\r\nLine 20 is: 'server' => $self->servers,\r\nand assumingly should be: 'server' => $self->server,\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/benningm/mtpolicyd/issues/comments/239426858","html_url":"https://github.com/benningm/mtpolicyd/issues/15#issuecomment-239426858","issue_url":"https://api.github.com/repos/benningm/mtpolicyd/issues/15","id":239426858,"user":{"login":"LuckyFellow","id":20767692,"avatar_url":"https://avatars.githubusercontent.com/u/20767692?v=3","gravatar_id":"","url":"https://api.github.com/users/LuckyFellow","html_url":"https://github.com/LuckyFellow","followers_url":"https://api.github.com/users/LuckyFellow/followers","following_url":"https://api.github.com/users/LuckyFellow/following{/other_user}","gists_url":"https://api.github.com/users/LuckyFellow/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyFellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyFellow/subscriptions","organizations_url":"https://api.github.com/users/LuckyFellow/orgs","repos_url":"https://api.github.com/users/LuckyFellow/repos","events_url":"https://api.github.com/users/LuckyFellow/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyFellow/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T11:50:31Z","updated_at":"2016-08-12T11:50:31Z","body":"The commited fix is the wrong one.\r\nPlease see my previous comment : \r\n\r\n> The previously mentione change is wrong. Instead line 13 needs to be changed\r\n> from: has 'server' => ( is => 'ro', isa => 'Str', default => '127.0.0.1:6379' );\r\n> to: has 'servers' => ( is => 'ro', isa => 'Str', default => '127.0.0.1:6379' );\r\n\r\nCurrently it would be required to define \"server\" in a redis connection block, instead of \"servers\" as in all other connection blocks.\r\n\r\n\r\n"}}
{"actor":{"display_login":"LuckyFellow"}}