mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:00:55 +08:00
feat(alerting): test results look better
This commit is contained in:
@ -42,8 +42,8 @@ type AlertTestCommand struct {
|
||||
type AlertTestResult struct {
|
||||
Triggered bool `json:"triggerd"`
|
||||
Timing string `json:"timing"`
|
||||
Error string `json:"error"`
|
||||
Logs []*AlertTestResultLog `json:"logs"`
|
||||
Error string `json:"error,omitempty"`
|
||||
Logs []*AlertTestResultLog `json:"logs,omitempty"`
|
||||
}
|
||||
|
||||
type AlertTestResultLog struct {
|
||||
|
Reference in New Issue
Block a user