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
+5 -5
View File
@@ -93,11 +93,11 @@ func newSinewaveInfo() simulationInfo {
df.Fields = append(df.Fields, f)
return simulationInfo{
Type: "sine",
Name: "Sine",
Description: "Sinewave generator",
SetupFields: df,
OnlyForward: false,
Type: "sine",
Name: "Sine",
Description: "Sinewave generator",
ConfigFields: df,
OnlyForward: false,
create: func(cfg simulationState) (Simulation, error) {
s := &waveformSim{
key: cfg.Key,