Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教:安装好lua-resty-checkups后使用openresty测试readme中的demo始终报attempt to index field 'checkups' (a nil value) #44

Open
ttany opened this issue Dec 21, 2018 · 1 comment

Comments

@ttany
Copy link

ttany commented Dec 21, 2018

image

如图,经过无数次的验证,无法解决:
2018/12/21 14:24:30 [error] 58540#0: *280 lua entry thread aborted: runtime error: /usr/local/lib/lua/resty/checkups/api.lua:65: attempt to index field 'checkups' (a nil value)
stack traceback:
coroutine 0:
/usr/local/lib/lua/resty/checkups/api.lua: in function 'ready_ok'

@samuelyao314
Copy link

lua_code_cache on; 就没有这个错误了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants