mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-20 21:52:57 -06:00
Merge pull request #8179 from dgethx/os-lbaasv2-fix-typo
Fix typo in OpenStack LBaaSv2 pool resource
This commit is contained in:
commit
aa94d1cb3c
@ -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'"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user