Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
6 years ago
Commit
6856715c3091d4a397a316b2ed7c70ae1b6d76b6
1 parent
0eb3f282
no
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
roles/openresty/files/java-nginx-config/nginx/conf/lua/limit_api_flow.lua
roles/openresty/files/java-nginx-config/nginx/conf/lua/limit_api_flow.lua
View file @
6856715
...
...
@@ -163,10 +163,11 @@ function main()
-- check white ip
local
ret
=
false
status
,
errMsg
,
ret
=
pcall
(
is_white
);
status
,
ret
=
pcall
(
is_white
);
if
not
status
then
ngx
.
log
(
ngx
.
ERR
,
"call method [is_white] failed."
,
errMsg
)
elseif
ret
then
ngx
.
log
(
ngx
.
ERR
,
"call method [is_white] failed."
)
end
if
ret
then
return
end
...
...
Please
register
or
login
to post a comment