From 698000eb84c5adca346932cbc8c21a758c86a16f Mon Sep 17 00:00:00 2001 From: "Gruendler, Daniel (415)" Date: Sun, 14 Aug 2016 20:56:53 +0200 Subject: [PATCH] Fix typo in OpenStack LBaaSv2 pool resource --- builtin/providers/openstack/resource_openstack_lb_pool_v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/openstack/resource_openstack_lb_pool_v2.go b/builtin/providers/openstack/resource_openstack_lb_pool_v2.go index aeb59caaf..92ef3e486 100644 --- a/builtin/providers/openstack/resource_openstack_lb_pool_v2.go +++ b/builtin/providers/openstack/resource_openstack_lb_pool_v2.go @@ -50,7 +50,7 @@ func resourcePoolV2() *schema.Resource { ForceNew: true, ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) { value := v.(string) - if value != "lTCP" && value != "HTTP" && value != "HTTPS" { + if value != "TCP" && value != "HTTP" && value != "HTTPS" { errors = append(errors, fmt.Errorf( "Only 'TCP', 'HTTP', and 'HTTPS' are supported values for 'protocol'")) }