Closed igorsimb closed 9 months ago
An easy solution could be hiding the "Delete Interval" button from the UI if no interval is running.
Eventually did both: removed the button from the front end and prevented accessing the delete interval view via a direct link (e.g. if user knows the exact urlpattern for the view).
Error
Problem lies in
destroy_scrape_interval_task
function. It does not check if a task even exists.