Testdata: show settings for current simulation (#48017)

Co-authored-by: An Le <an.le@grafana.com>
This commit is contained in:
Ryan McKinley
2022-04-26 13:45:42 -07:00
committed by GitHub
co-authored by An Le
parent 0da50294fe
commit 5294a2af48
7 changed files with 116 additions and 41 deletions
-1
View File
@@ -224,7 +224,6 @@ func (s *SimulationEngine) GetSimulationHandler(rw http.ResponseWriter, req *htt
}
result = v
} else if strings.HasPrefix(path, "/sim/") {
rw.WriteHeader(400)
sim, err := s.getSimFromPath(path)
if err != nil {
http.Error(rw, err.Error(), http.StatusNotFound)