Skip to content

Commit

Permalink
Use SDK-provided constants for HTTP method names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Aug 16, 2019
1 parent bb10368 commit 3a25855
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions aws/resource_aws_appmesh_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@ func resourceAwsAppmeshRoute() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringInSlice([]string{
"CONNECT",
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
"TRACE",
appmesh.HttpMethodConnect,
appmesh.HttpMethodDelete,
appmesh.HttpMethodGet,
appmesh.HttpMethodHead,
appmesh.HttpMethodOptions,
appmesh.HttpMethodPatch,
appmesh.HttpMethodPost,
appmesh.HttpMethodPut,
appmesh.HttpMethodTrace,
}, false),
},

Expand Down

0 comments on commit 3a25855

Please sign in to comment.