]> git.kaiwu.me - haproxy.git/commit
MINOR: mworker/cli: extract worker "show proc" row printer
authorAlexander Stephan <alexander.stephan@sap.com>
Tue, 30 Dec 2025 11:04:10 +0000 (11:04 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 5 Jan 2026 07:59:45 +0000 (08:59 +0100)
commite241144e7036a38484715b4965850791aa316412
tree44bf46477b13542bcdfa7c2c27d71943405ce794
parent4c10d9c70c86962f81a5e9973724b4439ab28fdb
MINOR: mworker/cli: extract worker "show proc" row printer

Introduce cli_append_worker_row() to centralize formatting of a single
worker row. Also, replace duplicated row-printing code in both current
and old workers loops with the helper. Motivation: Reduces LOC and
improves readability by removing duplication.
src/mworker.c