provider/statuscake: use default status code list when updating test (#12375)
This commit is contained in:
parent
01f995fed5
commit
d50f2aca6f
|
@ -193,5 +193,13 @@ func getStatusCakeTestInput(d *schema.ResourceData) *statuscake.Test {
|
|||
if v, ok := d.GetOk("port"); ok {
|
||||
test.Port = v.(int)
|
||||
}
|
||||
|
||||
defaultStatusCodes := "204, 205, 206, 303, 400, 401, 403, 404, 405, 406, " +
|
||||
"408, 410, 413, 444, 429, 494, 495, 496, 499, 500, 501, 502, 503, " +
|
||||
"504, 505, 506, 507, 508, 509, 510, 511, 521, 522, 523, 524, 520, " +
|
||||
"598, 599"
|
||||
|
||||
test.StatusCodes = defaultStatusCodes
|
||||
|
||||
return test
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue