Skip to content

Commit

Permalink
api/v2/reload: update references to flb_signal_reload to flb_reload_s…
Browse files Browse the repository at this point in the history
…ignal_reload.

Signed-off-by: Phillip Adair Stewart Whelan <[email protected]>
  • Loading branch information
pwhelan committed Feb 17, 2025
1 parent cf0f65e commit be20c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http_server/api/v2/reload.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static void handle_reload_request(mk_request_t *request, struct flb_config *conf
http_status = 400;
}
else {
flb_signal_reload(config);
flb_reload_signal_reload(config);
msgpack_pack_str(&mp_pck, 4);
msgpack_pack_str_body(&mp_pck, "done", 4);
msgpack_pack_str(&mp_pck, 6);
Expand All @@ -91,7 +91,7 @@ static void handle_reload_request(mk_request_t *request, struct flb_config *conf
http_status = 400;
}
else {
ret = flb_signal_reload(config);
ret = flb_reload_signal_reload(config);
if (ret != 0) {
mk_http_status(request, 500);
mk_http_done(request);
Expand Down

0 comments on commit be20c9d

Please sign in to comment.