mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix HCL export for alerts with non-zero "for" field. (#76739)
* Alerting: Fix HCL export for alerts with non-zero "for" field. Fixes #76734 * fix tests --------- Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
This commit is contained in:
@@ -605,7 +605,7 @@ func TestProvisioningApi(t *testing.T) {
|
||||
|
||||
no_data_state = "Alerting"
|
||||
exec_err_state = "Error"
|
||||
for = 0
|
||||
for = "0s"
|
||||
annotations = {
|
||||
test = "annotation"
|
||||
}
|
||||
@@ -632,7 +632,7 @@ func TestProvisioningApi(t *testing.T) {
|
||||
|
||||
no_data_state = "OK"
|
||||
exec_err_state = "OK"
|
||||
for = 0
|
||||
for = "0s"
|
||||
is_paused = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user