Skip to content
Commit 5f136e46 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 d277453a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment