Skip to content

Commit

Permalink
Merge pull request #174 from K-Phoen/fix-threshold-mode-yaml
Browse files Browse the repository at this point in the history
Fix threshold_mode yaml decoding for stat panels
  • Loading branch information
K-Phoen authored May 14, 2022
2 parents 70e20d3 + 4732b66 commit 68ca46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder/stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type DashboardStat struct {
TitleFontSize int `yaml:"title_font_size,omitempty"`
ValueFontSize int `yaml:"value_font_size,omitempty"`

ThresholdMode string `json:"threshold_mode,omitempty"`
ThresholdMode string `yaml:"threshold_mode,omitempty"`
Thresholds []StatThresholdStep `yaml:",omitempty"`
}

Expand Down

0 comments on commit 68ca46f

Please sign in to comment.