]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/commitdiff
Remove status codes default
authorMat Schaffer <mat@schaffer.me>
Thu, 1 Feb 2018 07:10:15 +0000 (16:10 +0900)
committerMat Schaffer <mat@schaffer.me>
Thu, 1 Feb 2018 07:10:15 +0000 (16:10 +0900)
In my testing, the default response was `[""]` and having the default provided cause test assertion failures

statuscake/resource_statuscaketest.go

index e82495588ab7e3d358dce70930cf9d4f070dc7b9..8e67bcdc69ef6cefc49f251a3b2a9a60c4fcbeb9 100644 (file)
@@ -176,10 +176,6 @@ func resourceStatusCakeTest() *schema.Resource {
                        "status_codes": {
                                Type:     schema.TypeString,
                                Optional: true,
-                               Default: "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",
                        },
 
                        "use_jar": {