Skip to content

Commit f580953

Browse files
authored
fix(monitor alerts): fix tests (#357)
1 parent 7c60bd4 commit f580953

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sysdig/resource_sysdig_monitor_alert_v2_downtime_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ func alertV2DowntimeWithGroupBy(name string) string {
7272
name = "TERRAFORM TEST - DOWNTIMEV2 %s"
7373
metric = "sysdig_container_up"
7474
threshold = 75
75-
group_by = ["kube_cluster_name", "kube_pod_name", "cloud_provider_tag_Owner",]
76-
75+
group_by = ["kube_cluster_name", "cloud_provider_tag_Owner",]
76+
7777
scope {
7878
label = "kube_cluster_name"
7979
operator = "in"
8080
values = ["thom-cluster1", "demo-env-prom"]
8181
}
82-
82+
8383
trigger_after_minutes = 15
84-
84+
8585
}
86-
86+
8787
`, name)
8888
}

sysdig/resource_sysdig_monitor_alert_v2_metric_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func alertV2MetricWithGroupBy(name string) string {
215215
operator = ">="
216216
threshold = 50
217217
trigger_after_minutes = 15
218-
group_by = ["kube_cluster_name", "kube_pod_name", "cloud_provider_tag_Owner",]
218+
group_by = ["kube_cluster_name", "cloud_provider_tag_Owner",]
219219
220220
}
221221
`, name)

0 commit comments

Comments
 (0)