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

code format option for ngx_http_upstream_check_module.c #1952

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ ngx_http_upstream_check_add_peer(ngx_conf_t *cf,

ucscf = ngx_http_conf_upstream_srv_conf(us, ngx_http_upstream_check_module);

if(ucscf->check_interval == 0) {
if (ucscf->check_interval == 0) {
return NGX_ERROR;
}

Expand Down Expand Up @@ -4770,7 +4770,7 @@ ngx_http_upstream_check_init_shm_peer(ngx_http_upstream_check_peer_shm_t *psh,

psh->down = opsh->down;

} else{
} else {
psh->access_time = 0;
psh->access_count = 0;

Expand Down