Closed simonpasquier closed 3 weeks ago
This change renames the Enforcer struct to PromQLEnforcer to clarify its purpose. It also removes the error type casting in favor of error wrapping.
You've got a good point regarding not returning the bad PromQL expression. I'll change this (it will also be consistent with the Prometheus API).
This change renames the Enforcer struct to PromQLEnforcer to clarify its purpose. It also removes the error type casting in favor of error wrapping.