Skip to content

Commit 351f9bc

Browse files
committed
update readme and alignment for code style
1 parent 5e83f9b commit 351f9bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ http {
4747
4848
# all backend server will pull from consul when startup and will delete fake server
4949
upsync 127.0.0.1:8500/v1/kv/upstreams/test upsync_timeout=6m upsync_interval=500ms upsync_type=consul strong_dependency=off;
50-
upsync_dump_path /usr/local/nginx/conf/upstreams/upstream_test.conf;
50+
upsync_dump_path /usr/local/nginx/conf/servers/servers_test.conf;
5151
}
5252
5353
upstream bar {

src/ngx_http_upsync_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ ngx_http_upsync_server(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
438438
}
439439
if (upscf->upsync_type_conf == NGX_CONF_UNSET_PTR) {
440440
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
441-
"upsync_server: upsync_type cannt be null");
441+
"upsync_server: upsync_type cannt be null");
442442
goto invalid;
443443
}
444444

0 commit comments

Comments
 (0)