• Reuben Pereira's avatar
    Check validity of prometheus_service before query · 50591efc
    Reuben Pereira authored
    Check validity before querying so that if the dns entry for the api_url
    has been changed to something invalid after the model was saved and
    checked for validity, it will not query. This is to solve a toctou
    (time of check to time of use) issue.
prometheus_service_spec.rb 7.24 KB