{"action":"closed","issue":{"url":"https://api.github.com/repos/openresty/lua-resty-upstream-healthcheck/issues/8","labels_url":"https://api.github.com/repos/openresty/lua-resty-upstream-healthcheck/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/openresty/lua-resty-upstream-healthcheck/issues/8/comments","events_url":"https://api.github.com/repos/openresty/lua-resty-upstream-healthcheck/issues/8/events","html_url":"https://github.com/openresty/lua-resty-upstream-healthcheck/issues/8","id":120806973,"number":8,"title":"Init error using config as given in synopsis section of README","user":{"login":"whatacold","id":1397818,"avatar_url":"https://avatars.githubusercontent.com/u/1397818?v=3","gravatar_id":"","url":"https://api.github.com/users/whatacold","html_url":"https://github.com/whatacold","followers_url":"https://api.github.com/users/whatacold/followers","following_url":"https://api.github.com/users/whatacold/following{/other_user}","gists_url":"https://api.github.com/users/whatacold/gists{/gist_id}","starred_url":"https://api.github.com/users/whatacold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatacold/subscriptions","organizations_url":"https://api.github.com/users/whatacold/orgs","repos_url":"https://api.github.com/users/whatacold/repos","events_url":"https://api.github.com/users/whatacold/events{/privacy}","received_events_url":"https://api.github.com/users/whatacold/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-07T16:08:39Z","updated_at":"2015-12-09T22:52:35Z","closed_at":"2015-12-09T22:52:35Z","body":"The error msg is `[error] 9595#0: init_worker_by_lua error: init_worker_by_lua:11: function arguments expected near '.'`\r\n\r\nAnd it seems like it's caused by this comment line: ` -- then you should write this instead: http_req = \"GET /status HTTP/1.0\\r\\nHost: foo.com\\r\\n\\r\\n\",`, I think it's a trial issue but I failed to fix this :-(, as I'm new to both OpenResty and Lua."}}