Skip to content

Commit

Permalink
feat(slo): bugfix for int?
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-DiCara committed Jun 26, 2024
1 parent 2bd3b5e commit 89da9fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/resources/slo/resource_slo.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@ func packAlerting(tfAlerting map[string]interface{}) slo.SloV00Alerting {
lf := failures.([]interface{})
if len(lf) > 0 {
lf2 := lf[0].(map[string]interface{})
print("GOT THEM OPTS")
println(lf2["min_failures"])
tfAdvancedOptions.SetMinFailures(int64(lf2["min_failures"].(int)))
}
}
Expand Down

0 comments on commit 89da9fe

Please sign in to comment.