We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cd096 commit 7dc9a91Copy full SHA for 7dc9a91
1 file changed
src/flb_router.c
@@ -256,6 +256,15 @@ int flb_router_io_set(struct flb_config *config)
256
}
257
258
259
+ /* Apply new router configuration if available */
260
+ if (!cfl_list_is_empty(&config->input_routes)) {
261
+ flb_debug("[router] new router configuration found, applying...");
262
+ if (flb_router_apply_config(config) == -1) {
263
+ flb_error("[router] failed to apply new router configuration");
264
+ return -1;
265
+ }
266
267
+
268
return 0;
269
270
0 commit comments