Skip to content

requestctl: improve change validation

Giuseppe Lavagetto requested to merge haproxy_action_check into main

With the current code, change validation had two major shortcomings:

  • HAProxy actions wouldn't validate the expression, leading to possibly invalid expressions being passed by validate
  • HAProxy actions have some mutually exclusive options. This patch adds validation for these options in the code rather than building a jsonschema for it, which would be the default conftool way of doing it. This is to improve readability.

Merge request reports