Skip to content
Commit 515bb4e6 authored by Reuben Pereira's avatar Reuben Pereira Committed by Yorick Peterse
Browse files

Check validity of prometheus_service before query

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.
parent ae54a129
Loading
Loading
Loading