mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-17 08:05:09 +00:00
ecbaebf451
When config content doesn't look like valid HAProxy config (missing global/defaults/frontend/backend/listen keywords), agent now reports this to backend via config-validation-failed endpoint. This catches backend-side config generation errors (like Python exceptions) that prevented actual HAProxy config from being generated. Changes: - Add invalid config format detection and reporting in daemon mode - Use same curl pattern as existing HAProxy validation failure reporting - Same endpoint, headers, error handling, and spam prevention - Follows exact existing pattern for consistency - Does not affect self-upgrade flow (runs before upgrade check) Both linux and macos scripts updated identically.