aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--resource_statuscaketest.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/resource_statuscaketest.go b/resource_statuscaketest.go
index dbc15c9..4912758 100644
--- a/resource_statuscaketest.go
+++ b/resource_statuscaketest.go
@@ -193,5 +193,13 @@ func getStatusCakeTestInput(d *schema.ResourceData) *statuscake.Test {
193 if v, ok := d.GetOk("port"); ok { 193 if v, ok := d.GetOk("port"); ok {
194 test.Port = v.(int) 194 test.Port = v.(int)
195 } 195 }
196
197 defaultStatusCodes := "204, 205, 206, 303, 400, 401, 403, 404, 405, 406, " +
198 "408, 410, 413, 444, 429, 494, 495, 496, 499, 500, 501, 502, 503, " +
199 "504, 505, 506, 507, 508, 509, 510, 511, 521, 522, 523, 524, 520, " +
200 "598, 599"
201
202 test.StatusCodes = defaultStatusCodes
203
196 return test 204 return test
197} 205}