Fix typo in OpenStack LBaaSv2 pool resource
This commit is contained in:
parent
8f976e5ceb
commit
698000eb84
|
@ -50,7 +50,7 @@ func resourcePoolV2() *schema.Resource {
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) {
|
ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) {
|
||||||
value := v.(string)
|
value := v.(string)
|
||||||
if value != "lTCP" && value != "HTTP" && value != "HTTPS" {
|
if value != "TCP" && value != "HTTP" && value != "HTTPS" {
|
||||||
errors = append(errors, fmt.Errorf(
|
errors = append(errors, fmt.Errorf(
|
||||||
"Only 'TCP', 'HTTP', and 'HTTPS' are supported values for 'protocol'"))
|
"Only 'TCP', 'HTTP', and 'HTTPS' are supported values for 'protocol'"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue