Skip to content

Commit

Permalink
Update ngx_zookeeper_upstream_module.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigzagAK authored Oct 28, 2022
1 parent 934e4d1 commit a9362d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngx_zookeeper_upstream_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ ngx_zookeeper_upstream_save(ngx_http_zookeeper_upstream_srv_conf_t *zscf)

file.name = zscf->file;
file.offset = 0;
file.log = ngx_cycle->log;

file.fd = ngx_open_file(zscf->file.data, NGX_FILE_WRONLY,
NGX_FILE_TRUNCATE, NGX_FILE_DEFAULT_ACCESS);
Expand Down

0 comments on commit a9362d5

Please sign in to comment.